@@ -98,7 +98,7 @@ |
||
98 | 98 | /** |
99 | 99 | * Clears user session. |
100 | 100 | * |
101 | - * @return static |
|
101 | + * @return \Psr\Http\Message\ResponseInterface |
|
102 | 102 | */ |
103 | 103 | public function logout() : \Psr\Http\Message\ResponseInterface |
104 | 104 | { |
@@ -32,7 +32,6 @@ |
||
32 | 32 | /** |
33 | 33 | * Invoked on middleware execution. |
34 | 34 | * |
35 | - * @param mixed $exception exception |
|
36 | 35 | * @param Request $request request |
37 | 36 | * @param Response $response response |
38 | 37 | * @return HtmlResponse |
@@ -106,7 +106,7 @@ |
||
106 | 106 | * Update or Insert user. |
107 | 107 | * |
108 | 108 | * @param Array $data Data from POST |
109 | - * @param null $userId UUID of user if we want to edit or 0 to add new user |
|
109 | + * @param integer $userId UUID of user if we want to edit or 0 to add new user |
|
110 | 110 | * @throws \Exception |
111 | 111 | */ |
112 | 112 | public function save($data, $userId = 0) |