@@ -113,7 +113,7 @@ |
||
113 | 113 | $Session->setFields($sessionData); |
114 | 114 | if (function_exists('fastcgi_finish_request')) { |
115 | 115 | // @codeCoverageIgnoreStart |
116 | - register_shutdown_function(function ($Session) { |
|
116 | + register_shutdown_function(function($Session) { |
|
117 | 117 | $Session->save(); |
118 | 118 | }, $Session); |
119 | 119 | // @codeCoverageIgnoreEnd |
@@ -255,9 +255,9 @@ |
||
255 | 255 | } |
256 | 256 | |
257 | 257 | if (isset($_SERVER['HTTP_ACCEPT'])) { |
258 | - if ($_SERVER['HTTP_ACCEPT'] == 'application/json') { |
|
259 | - $this->responseBuilder = JsonBuilder::class; |
|
260 | - } |
|
258 | + if ($_SERVER['HTTP_ACCEPT'] == 'application/json') { |
|
259 | + $this->responseBuilder = JsonBuilder::class; |
|
260 | + } |
|
261 | 261 | } |
262 | 262 | |
263 | 263 | if ($this->responseBuilder == JsonBuilder::class) { |