fix: phpstan level=3
This commit is contained in:
parent
bbc9d0e7fe
commit
f594611656
6 changed files with 8 additions and 6 deletions
|
|
@ -31,7 +31,7 @@ class User implements UserInterface
|
|||
}
|
||||
|
||||
function isLogged() {
|
||||
return \ctiso\Filter\Authorization::isLogged();
|
||||
return \ctiso\Filter\Authorization::isLogged();
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -41,7 +41,7 @@ class User implements UserInterface
|
|||
if ($result->next()) {
|
||||
$this->access = $this->groups[$result->getString('access')];
|
||||
$this->name = $result->getString('login');
|
||||
$this->id = $result->getInt('id_user');
|
||||
$this->id = $result->getInt('id_user');
|
||||
$this->password = $result->getString('password');
|
||||
$this->fullname = implode(' ', array(
|
||||
$result->getString('surname'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue