Skip to content

Commit e645076

Browse files
committed
Make phpstan happy
1 parent 78630c7 commit e645076

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

phpstan.neon.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ parameters:
1717
# wildcard permissions:
1818
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Model::getWildcardClass#'
1919
- '#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

Comments
 (0)