mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-13 03:27:45 +02:00
chore(phpstan): remove redundant dynamicConstantNames
+ update quality tools
This commit is contained in:
parent
cc19c24668
commit
2dd9cc9ef5
18 changed files with 110 additions and 110 deletions
|
|
@ -30,7 +30,7 @@ class UserController extends BaseController
|
|||
return $this->{$method}();
|
||||
}
|
||||
|
||||
if ($this->user = (new UserModel())->find($params[0])) {
|
||||
if (($this->user = (new UserModel())->find($params[0])) instanceof User) {
|
||||
return $this->{$method}();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue