@@ -42,14 +42,14 @@ |
||
42 | 42 | |
43 | 43 | public function getBasicType(): array |
44 | 44 | { |
45 | - return array_filter($this->getItems(), function ($item) { |
|
45 | + return array_filter($this->getItems(), function($item) { |
|
46 | 46 | return $item->getType() == 'basic'; |
47 | 47 | }); |
48 | 48 | } |
49 | 49 | |
50 | 50 | public function getClientType(): array |
51 | 51 | { |
52 | - return array_filter($this->getItems(), function ($item) { |
|
52 | + return array_filter($this->getItems(), function($item) { |
|
53 | 53 | return $item->getType() == 'client'; |
54 | 54 | }); |
55 | 55 | } |
@@ -46,7 +46,7 @@ |
||
46 | 46 | */ |
47 | 47 | public function filterByServiceCode(int $code) |
48 | 48 | { |
49 | - return current(array_filter($this->getItems(), function ($item) use ($code) { |
|
49 | + return current(array_filter($this->getItems(), function($item) use ($code) { |
|
50 | 50 | return $item->getCode() == $code; |
51 | 51 | })); |
52 | 52 | } |
@@ -103,7 +103,7 @@ |
||
103 | 103 | $body = $this->fixAmpersand($body); |
104 | 104 | return $this->serializer->deserialize($body, $request->getResponseClass(), 'xml'); |
105 | 105 | } else { |
106 | - return new SimpleResponse((string)$response->getBody(), (int)$response->getStatusCode()); |
|
106 | + return new SimpleResponse((string) $response->getBody(), (int) $response->getStatusCode()); |
|
107 | 107 | } |
108 | 108 | } |
109 | 109 |