@@ -38,8 +38,6 @@ |
||
| 38 | 38 | protected $newPassword; |
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | - * @param string $id |
|
| 42 | - * @param int $version |
|
| 43 | 41 | * @param string $tokenValue |
| 44 | 42 | * @param string $newPassword |
| 45 | 43 | * @param Context $context |
@@ -103,6 +103,9 @@ discard block |
||
| 103 | 103 | return (!in_array($statusCode, [200, 201])); |
| 104 | 104 | } |
| 105 | 105 | |
| 106 | + /** |
|
| 107 | + * @param string $fieldName |
|
| 108 | + */ |
|
| 106 | 109 | protected function getResponseField($fieldName, $default = '') |
| 107 | 110 | { |
| 108 | 111 | $result = $this->toArray(); |
@@ -110,7 +113,7 @@ discard block |
||
| 110 | 113 | } |
| 111 | 114 | |
| 112 | 115 | /** |
| 113 | - * @return array |
|
| 116 | + * @return ErrorContainer |
|
| 114 | 117 | */ |
| 115 | 118 | public function getErrors() |
| 116 | 119 | { |