@@ -28,7 +28,7 @@ |
||
| 28 | 28 | $notificationTransfer |
| 29 | 29 | ->setNotificationBody($request->getContent()) |
| 30 | 30 | ->setTimestamp($request->headers->get(static::HEADER_X_PUSH_TIMESTAMP)) |
| 31 | - ->setRetries((int)$request->headers->get(static::HEADER_X_PUSH_RETRIES)); |
|
| 31 | + ->setRetries((int) $request->headers->get(static::HEADER_X_PUSH_RETRIES)); |
|
| 32 | 32 | |
| 33 | 33 | return $notificationTransfer; |
| 34 | 34 | } |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | */ |
| 51 | 51 | protected function simpleXmlToArray(SimpleXMLElement $xmlElement): array |
| 52 | 52 | { |
| 53 | - $result = (array)$xmlElement; |
|
| 53 | + $result = (array) $xmlElement; |
|
| 54 | 54 | |
| 55 | 55 | foreach ($result as $name => $value) { |
| 56 | 56 | if ($value instanceof SimpleXMLElement) { |