1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 07:04:03 +00:00

fix phpstan errors (seems like it started ignoring @property annotations on interfaces and abstract classes)

This commit is contained in:
Samuel Štancl 2023-01-04 02:23:48 +01:00
parent 0f892f1585
commit 03ac1ef127
3 changed files with 9 additions and 3 deletions

View file

@ -28,7 +28,7 @@ parameters:
paths:
- src/Features/TelescopeTags.php
-
message: '#Parameter \#1 \$key of method Illuminate\\Contracts\\Cache\\Repository::put\(\) expects string#'
message: '#Parameter \#1 \$key of method Illuminate\\Cache\\Repository::put\(\) expects#'
paths:
- src/helpers.php
-
@ -48,6 +48,8 @@ parameters:
paths:
- src/Database/DatabaseConfig.php
- '#Method Stancl\\Tenancy\\Tenancy::cachedResolvers\(\) should return array#'
- '#Access to an undefined property Stancl\\Tenancy\\Middleware\\IdentificationMiddleware\:\:\$tenancy#'
- '#Access to an undefined property Stancl\\Tenancy\\Middleware\\IdentificationMiddleware\:\:\$resolver#'
checkMissingIterableValueType: false
treatPhpDocTypesAsCertain: false