fix: phpstan level=3

This commit is contained in:
origami11@yandex.ru 2024-01-22 14:00:52 +03:00
parent bbc9d0e7fe
commit f594611656
6 changed files with 8 additions and 6 deletions

View file

@ -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'),