@@ -171,7 +171,7 @@ discard block |
||
| 171 | 171 | */ |
| 172 | 172 | protected static function getNumericParameter(array $arguments, string $shortArg, string $longArg, int $defaultValue) |
| 173 | 173 | { |
| 174 | - if (self::inArguments($arguments,$shortArg, $longArg)){ |
|
| 174 | + if (self::inArguments($arguments,$shortArg, $longArg)){ |
|
| 175 | 175 | $val = self::getArgumentValue($arguments,$shortArg, $longArg); |
| 176 | 176 | |
| 177 | 177 | if (!is_numeric($val)){ |
@@ -185,14 +185,14 @@ discard block |
||
| 185 | 185 | } |
| 186 | 186 | |
| 187 | 187 | /** |
| 188 | - * Check and print errors in API response. Null response object is considered as no errors |
|
| 189 | - * |
|
| 190 | - * @access protected |
|
| 191 | - * @static |
|
| 192 | - * @param object $response |
|
| 193 | - * |
|
| 194 | - * @return void |
|
| 195 | - */ |
|
| 188 | + * Check and print errors in API response. Null response object is considered as no errors |
|
| 189 | + * |
|
| 190 | + * @access protected |
|
| 191 | + * @static |
|
| 192 | + * @param object $response |
|
| 193 | + * |
|
| 194 | + * @return void |
|
| 195 | + */ |
|
| 196 | 196 | protected static function printPlainTextErrors(object $response) |
| 197 | 197 | { |
| 198 | 198 | foreach ($response->errors as $err){ |