chore: Аннотации к типам
This commit is contained in:
parent
386a927254
commit
245b5c6c19
18 changed files with 191 additions and 104 deletions
|
|
@ -34,6 +34,9 @@ class User implements UserInterface
|
|||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
function isLogged() {
|
||||
return \ctiso\Filter\Authorization::isLogged();
|
||||
}
|
||||
|
|
@ -55,6 +58,10 @@ class User implements UserInterface
|
|||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param PDOStatement $result
|
||||
* @return string
|
||||
*/
|
||||
function getUserPassword($result) {
|
||||
return $result->get('password');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue