@@ -100,8 +100,8 @@ discard block |
||
| 100 | 100 | // Parse platform |
| 101 | 101 | if (!isset($headerArr[0]) || !in_array($headerArr[0], $this->platforms)) { |
| 102 | 102 | throw new BadRequestException($config->getHeader() . ' header: Platform is not supported, should be: ' . |
| 103 | - implode(',', $this->platforms) . |
|
| 104 | - ' - format:' . $format); |
|
| 103 | + implode(',', $this->platforms) . |
|
| 104 | + ' - format:' . $format); |
|
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | $this->platform = $headerArr[0]; |
@@ -109,8 +109,8 @@ discard block |
||
| 109 | 109 | // Parse env |
| 110 | 110 | if (!isset($headerArr[1]) || !in_array($headerArr[1], $this->environments)) { |
| 111 | 111 | throw new BadRequestException($config->getHeader() . ' header: Environment is not supported, should be: ' . |
| 112 | - implode(',', $this->environments) . |
|
| 113 | - ' - format:' . $format); |
|
| 112 | + implode(',', $this->environments) . |
|
| 113 | + ' - format:' . $format); |
|
| 114 | 114 | } |
| 115 | 115 | |
| 116 | 116 | $this->environment = $headerArr[1]; |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | // Parse device os version |
| 135 | 135 | if (!isset($headerArr[3])) { |
| 136 | 136 | throw new BadRequestException('Meta header: Missing device os version' . |
| 137 | - ' - format:' . $format); |
|
| 137 | + ' - format:' . $format); |
|
| 138 | 138 | } |
| 139 | 139 | |
| 140 | 140 | $this->deviceOsVersion = $headerArr[3]; |