diff --git a/.github/phpstan.neon b/.github/phpstan.neon index 0aeee55..43c0daf 100644 --- a/.github/phpstan.neon +++ b/.github/phpstan.neon @@ -1,7 +1,5 @@ parameters: ignoreErrors: - - '#PHPDoc tag @var for property Slub\\Mods\\Element\\Xml\\Element::\$values with type array\|false is not subtype of native type array\.#' - - '#PHPDoc tag @return with type array\|false is not subtype of native type array\.#' - '#Property Slub\\Mods\\Element\\Specific\\OriginInfo\\Issuance::\$allowedValues is never read, only written\.#' level: 5 paths: diff --git a/src/Mods/Element/Xml/Element.php b/src/Mods/Element/Xml/Element.php index 72f15e0..64043fa 100644 --- a/src/Mods/Element/Xml/Element.php +++ b/src/Mods/Element/Xml/Element.php @@ -24,7 +24,7 @@ class Element * @access protected * @var static[]|false|null */ - protected array $values; + protected array $values; // @phpstan-ignore-line /** * @access protected