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..30a9351 100644 --- a/src/Mods/Element/Xml/Element.php +++ b/src/Mods/Element/Xml/Element.php @@ -22,7 +22,7 @@ class Element /** * @access protected - * @var static[]|false|null + * @var static[]|false|null // @phpstan-ignore-line */ protected array $values;