Skip to content

Commit

Permalink
Remove fixed warning from PHPStan config
Browse files Browse the repository at this point in the history
  • Loading branch information
beatrycze-volk committed Jun 17, 2024
1 parent b88604c commit 8b885e5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/phpstan.neon
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/Mods/Element/Xml/Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Element

/**
* @access protected
* @var static[]|false|null
* @var static[]|false|null // @phpstan-ignore-line
*/

Check failure on line 26 in src/Mods/Element/Xml/Element.php

View workflow job for this annotation

GitHub Actions / phpstan

No error to ignore is reported on line 26.
protected array $values;

Check failure on line 27 in src/Mods/Element/Xml/Element.php

View workflow job for this annotation

GitHub Actions / phpstan

PHPDoc tag @var for property Slub\Mods\Element\Xml\Element::$values with type array<static(Slub\Mods\Element\Xml\Element)>|false|null is not subtype of native type array.

Expand Down

0 comments on commit 8b885e5

Please sign in to comment.