| @@ -35,7 +35,7 @@ discard block | ||
| 35 | 35 | private $originalServer = []; | 
| 36 | 36 | |
| 37 | 37 | /** @var array Valid values for HTTP protocol version */ | 
| 38 | - private static $allowedVersions = ['1.0', '1.1', '2',]; | |
| 38 | + private static $allowedVersions = ['1.0', '1.1', '2', ]; | |
| 39 | 39 | |
| 40 | 40 | /** | 
| 41 | 41 | * @param Worker $worker | 
| @@ -134,7 +134,7 @@ discard block | ||
| 134 | 134 |              if (\in_array($key, array('CONTENT_TYPE', 'CONTENT_LENGTH'))) { | 
| 135 | 135 |                  $server[$key] = implode(', ', $value); | 
| 136 | 136 |              } else { | 
| 137 | -                $server['HTTP_' . $key] = implode(', ', $value); | |
| 137 | +                $server['HTTP_'.$key] = implode(', ', $value); | |
| 138 | 138 | } | 
| 139 | 139 | } | 
| 140 | 140 | |
| @@ -71,8 +71,9 @@ | ||
| 71 | 71 | public function acceptRequest() | 
| 72 | 72 |      { | 
| 73 | 73 | $rawRequest = $this->httpClient->acceptRequest(); | 
| 74 | - if ($rawRequest === null) | |
| 75 | - return null; | |
| 74 | +        if ($rawRequest === null) { | |
| 75 | + return null; | |
| 76 | + } | |
| 76 | 77 | |
| 77 | 78 | $_SERVER = $this->configureServer($rawRequest['ctx']); | 
| 78 | 79 | |