@@ -21,8 +21,8 @@ |
||
| 21 | 21 | && is_array($responseFormats) |
| 22 | 22 | && count($responseFormats) > 0 |
| 23 | 23 | ) { |
| 24 | - return array_map(static function (string $class) { |
|
| 25 | - if (! is_a($class, FoaasResponse::class, true)) { |
|
| 24 | + return array_map(static function(string $class) { |
|
| 25 | + if (!is_a($class, FoaasResponse::class, true)) { |
|
| 26 | 26 | throw new InvalidResponse('A class needs to implement \'Codeat3\FoaasClient\Response\FoaasResponse\''); |
| 27 | 27 | } |
| 28 | 28 | |