@@ -20,7 +20,7 @@ |
||
| 20 | 20 | */ |
| 21 | 21 | public function register() |
| 22 | 22 | { |
| 23 | - $this->getContainer()->singleton('Monolog\Logger', function () { |
|
| 23 | + $this->getContainer()->singleton('Monolog\Logger', function() { |
|
| 24 | 24 | $log = new Logger('app'); |
| 25 | 25 | $log->pushHandler( |
| 26 | 26 | new StreamHandler(__DIR__ . '/../../logs/app.log', Logger::DEBUG) |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | */ |
| 20 | 20 | public function register() |
| 21 | 21 | { |
| 22 | - $this->getContainer()->add('Ramsey\Uuid\Uuid', function () { |
|
| 22 | + $this->getContainer()->add('Ramsey\Uuid\Uuid', function() { |
|
| 23 | 23 | $uuid = Uuid::Uuid4(); |
| 24 | 24 | return $uuid; |
| 25 | 25 | }); |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | $response->setStatusCode(404)->setContent( |
| 29 | 29 | $container->get('Twig_Environment')->render('404.html') |
| 30 | 30 | ); |
| 31 | -} catch(\Exception $e) { |
|
| 31 | +} catch (\Exception $e) { |
|
| 32 | 32 | $response->setStatusCode(500)->setContent( |
| 33 | 33 | 'An error occured! ' . $e->getMessage() |
| 34 | 34 | ); |
@@ -272,7 +272,7 @@ |
||
| 272 | 272 | { |
| 273 | 273 | $queryString = $request->query->get('embed'); |
| 274 | 274 | |
| 275 | - if (! empty($queryString)) { |
|
| 275 | + if (!empty($queryString)) { |
|
| 276 | 276 | $this->fractal->parseIncludes($request->query->get('embed')); |
| 277 | 277 | } |
| 278 | 278 | } |