Skip to content

Commit

Permalink
fixed issues reported by phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
arusinowski committed Sep 13, 2023
1 parent 846f2a6 commit 095d31a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"cakephp/bake": "^3.0.0",
"cakephp/migrations": "^4.0.0",
"aura/intl": "^3.0",
"vimeo/psalm": "^5.15"
"vimeo/psalm": "^5.15",
"phpstan/phpstan": "^1.10"
},
"autoload": {
"psr-4": {
Expand Down
3 changes: 2 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
parameters:
level: 7
level: 6
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
paths:
- src
2 changes: 1 addition & 1 deletion src/Model/Behavior/Strategy/ConstStrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ protected function getConstants(): array

/**
* @param \Cake\Event\EventInterface $event The beforeFind event that was fired.
* @param \Cake\ORM\Query $query Query
* @param \Cake\ORM\Query\SelectQuery $query Query
* @param \ArrayObject $options The options for the query
* @return void
*/
Expand Down

0 comments on commit 095d31a

Please sign in to comment.