We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78630c7 commit e645076Copy full SHA for e645076
phpstan.neon.dist
@@ -17,3 +17,6 @@ parameters:
17
# wildcard permissions:
18
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Model::getWildcardClass#'
19
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Model::getAllPermissions#'
20
+ # contract checks:
21
+ - '#Call to function is_a\(\) with (.*) and ''Spatie\\\\Permission\\\\Contracts\\\\Permission'' will always evaluate to true\.$#'
22
+ - '#Call to function is_a\(\) with (.*) and ''Spatie\\\\Permission\\\\Contracts\\\\Role'' will always evaluate to true\.$#'
0 commit comments