@@ -31,6 +31,9 @@ |
||
| 31 | 31 | return $this; |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | + /** |
|
| 35 | + * @param string $otp |
|
| 36 | + */ |
|
| 34 | 37 | public function verify($otp) |
| 35 | 38 | { |
| 36 | 39 | $verified = $this->getTOTP()->verify($otp); |
@@ -88,6 +88,9 @@ discard block |
||
| 88 | 88 | return false; |
| 89 | 89 | } |
| 90 | 90 | |
| 91 | + /** |
|
| 92 | + * @param string $action |
|
| 93 | + */ |
|
| 91 | 94 | protected function do($action, $path, $values) |
| 92 | 95 | { |
| 93 | 96 | $data = false; |
@@ -123,7 +126,7 @@ discard block |
||
| 123 | 126 | } |
| 124 | 127 | |
| 125 | 128 | /** |
| 126 | - * @param $callback |
|
| 129 | + * @param callable $callback |
|
| 127 | 130 | * @return array|string|Closure |
| 128 | 131 | * @throws UnexpectedValueException |
| 129 | 132 | * @throws NotFoundExceptionInterface |