diff --git a/system/Test/Mock/MockCache.php b/system/Test/Mock/MockCache.php index 85b5fd9e7e14..b410df874243 100644 --- a/system/Test/Mock/MockCache.php +++ b/system/Test/Mock/MockCache.php @@ -31,7 +31,7 @@ class MockCache extends BaseHandler implements CacheInterface /** * Expiration times. * - * @var ?list + * @var array */ protected $expirations = []; diff --git a/utils/phpstan-baseline/loader.neon b/utils/phpstan-baseline/loader.neon index 150b8c87bf6d..e1758784aa82 100644 --- a/utils/phpstan-baseline/loader.neon +++ b/utils/phpstan-baseline/loader.neon @@ -53,6 +53,5 @@ includes: - return.unusedType.neon - staticMethod.notFound.neon - ternary.shortNotAllowed.neon - - unset.offset.neon - varTag.type.neon - variable.undefined.neon diff --git a/utils/phpstan-baseline/unset.offset.neon b/utils/phpstan-baseline/unset.offset.neon deleted file mode 100644 index 42c26f2fa213..000000000000 --- a/utils/phpstan-baseline/unset.offset.neon +++ /dev/null @@ -1,8 +0,0 @@ -# total 1 error - -parameters: - ignoreErrors: - - - message: '#^Cannot unset offset string on list\\|null\.$#' - count: 2 - path: ../../system/Test/Mock/MockCache.php