@@ -34,6 +34,9 @@ discard block |
||
34 | 34 | /** @var QueryInterface Database query instance */ |
35 | 35 | protected $query; |
36 | 36 | |
37 | + /** |
|
38 | + * @param Email $social |
|
39 | + */ |
|
37 | 40 | public function authorize($social) |
38 | 41 | { |
39 | 42 | if (m('cms')->isCMS()) { |
@@ -59,7 +62,6 @@ discard block |
||
59 | 62 | * Application constructor. |
60 | 63 | * |
61 | 64 | * @param string $path |
62 | - * @param null $vid |
|
63 | 65 | * @param null $resources |
64 | 66 | */ |
65 | 67 | public function __construct($path, ResourcesInterface $resources, SystemInterface $system, RequestInterface $request) |
@@ -189,7 +191,7 @@ discard block |
||
189 | 191 | * New password form. |
190 | 192 | * |
191 | 193 | * @param string $code Code password recovery |
192 | - * @return bool |
|
194 | + * @return null|false |
|
193 | 195 | */ |
194 | 196 | public function __confirm($code) |
195 | 197 | { |
@@ -15,8 +15,6 @@ |
||
15 | 15 | use samsonphp\event\Event; |
16 | 16 | use samsonframework\orm\QueryInterface; |
17 | 17 | use samson\social\email\Email; |
18 | -use samson\core\URL; |
|
19 | -use samson\core\Core; |
|
20 | 18 | |
21 | 19 | /** |
22 | 20 | * Generic class for user sign in |