Skip to content

Commit

Permalink
Merge pull request #9369 from neznaika0/refactor/phpstan-unset-offset
Browse files Browse the repository at this point in the history
refactor: Fix phpstan when delete string key
  • Loading branch information
samsonasik authored Jan 4, 2025
2 parents db12ec3 + a6d9716 commit 536570b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion system/Test/Mock/MockCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class MockCache extends BaseHandler implements CacheInterface
/**
* Expiration times.
*
* @var ?list<int>
* @var array<string, int|null>
*/
protected $expirations = [];

Expand Down
1 change: 0 additions & 1 deletion utils/phpstan-baseline/loader.neon
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,5 @@ includes:
- return.unusedType.neon
- staticMethod.notFound.neon
- ternary.shortNotAllowed.neon
- unset.offset.neon
- varTag.type.neon
- variable.undefined.neon
8 changes: 0 additions & 8 deletions utils/phpstan-baseline/unset.offset.neon

This file was deleted.

0 comments on commit 536570b

Please sign in to comment.