@@ -37,6 +37,9 @@ discard block |
||
| 37 | 37 | /** @var RequestInterface Request instance */ |
| 38 | 38 | protected $request; |
| 39 | 39 | |
| 40 | + /** |
|
| 41 | + * @param Email $social |
|
| 42 | + */ |
|
| 40 | 43 | public function authorize($social) |
| 41 | 44 | { |
| 42 | 45 | if (m('cms')->isCMS()) { |
@@ -193,7 +196,7 @@ discard block |
||
| 193 | 196 | * New password form. |
| 194 | 197 | * |
| 195 | 198 | * @param string $code Code password recovery |
| 196 | - * @return bool |
|
| 199 | + * @return null|false |
|
| 197 | 200 | */ |
| 198 | 201 | public function __confirm($code) |
| 199 | 202 | { |