@@ -37,6 +37,9 @@ discard block |
||
| 37 | 37 | /** @var RequestInterface Request instance */ |
| 38 | 38 | protected $request; |
| 39 | 39 | |
| 40 | + /** |
|
| 41 | + * @param Email $cms |
|
| 42 | + */ |
|
| 40 | 43 | public function authorize($cms) |
| 41 | 44 | { |
| 42 | 45 | if ($cms->isCMS()) { |
@@ -203,7 +206,7 @@ discard block |
||
| 203 | 206 | * |
| 204 | 207 | * @param string $code Code password recovery |
| 205 | 208 | * |
| 206 | - * @return bool |
|
| 209 | + * @return null|false |
|
| 207 | 210 | */ |
| 208 | 211 | public function __confirm($code) |
| 209 | 212 | { |