mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-02 16:39:25 -05:00
Storage: Define type of generic class ConfigObject
This commit is contained in:
parent
77d5af43de
commit
ca620814c3
2 changed files with 2 additions and 12 deletions
|
|
@ -15,13 +15,13 @@ abstract class Storage
|
|||
protected static $instance;
|
||||
|
||||
/**
|
||||
* @var ConfigObject
|
||||
* @var ConfigObject<string>
|
||||
*/
|
||||
protected $config;
|
||||
|
||||
/**
|
||||
* Storage constructor.
|
||||
* @param ConfigObject $config
|
||||
* @param ConfigObject<string> $config
|
||||
*/
|
||||
public function __construct(ConfigObject $config)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3570,11 +3570,6 @@ parameters:
|
|||
count: 1
|
||||
path: library/Businessprocess/Storage/LegacyStorage.php
|
||||
|
||||
-
|
||||
message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\Storage\\:\\:__construct\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
|
||||
count: 1
|
||||
path: library/Businessprocess/Storage/Storage.php
|
||||
|
||||
-
|
||||
message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\Storage\\:\\:deleteProcess\\(\\) has parameter \\$name with no type specified\\.$#"
|
||||
count: 1
|
||||
|
|
@ -3615,11 +3610,6 @@ parameters:
|
|||
count: 1
|
||||
path: library/Businessprocess/Storage/Storage.php
|
||||
|
||||
-
|
||||
message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\Storage\\:\\:\\$config with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
|
||||
count: 1
|
||||
path: library/Businessprocess/Storage/Storage.php
|
||||
|
||||
-
|
||||
message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Component\\\\BpDashboardTile\\:\\:__construct\\(\\) has parameter \\$attributes with no type specified\\.$#"
|
||||
count: 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue