Skip to content

Commit b133717

Browse files
committed
[BUGFIX] Avoid warnings about ObjectStorage with PHPStan 1.11.9
It looks like PHPStan 1.11.9 considers the offending line to be different in version 1.11.9. To be compatible with both PHPStan <= 1.11.9 and 1.11.9, we now need two `@phpstan-ignore-next-line` entries. Fixes #167
1 parent 4fcc87d commit b133717

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stubs/ObjectStorage.stub

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class ObjectStorage implements \Iterator, \ArrayAccess
4242
* @phpstan-ignore-next-line See https://forge.typo3.org/issues/98146
4343
* @return string|null
4444
*/
45+
// @phpstan-ignore-next-line See https://forge.typo3.org/issues/98146
4546
public function key();
4647

4748
/**

0 commit comments

Comments
 (0)