@@ -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 | { |