chore: Аннотация типов
This commit is contained in:
parent
cf0bc435ce
commit
f07a668b30
14 changed files with 62 additions and 19 deletions
|
|
@ -96,9 +96,10 @@ class User implements UserInterface
|
|||
/**
|
||||
* @param string $random
|
||||
* @param PDOStatement $result
|
||||
* @return PDOStatement
|
||||
* @return PDOStatement|bool
|
||||
*/
|
||||
function setSID(string $random, $result) {
|
||||
function setSID(string $random, $result)
|
||||
{
|
||||
return $this->db->executeQuery("UPDATE users SET sid = :sid, trie_count = 0 WHERE id_user = :user", [
|
||||
'user' => $result->getInt('id_user'),
|
||||
'sid' => $random
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue