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 dbcb392
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 @@ -24,7 +24,7 @@ class Element
* @access protected
* @var static[]|false|null
*/
protected array $values;
protected array $values; // @phpstan-ignore-line

/**
* @access protected
Expand Down

0 comments on commit dbcb392

Please sign in to comment.