@@ -45,11 +45,11 @@ |
||
| 45 | 45 | { |
| 46 | 46 | $app['handler.queue'] = []; |
| 47 | 47 | |
| 48 | - $app['relay.pimpleResolver'] = $app->protect(function ($entry) use($app) { |
|
| 48 | + $app['relay.pimpleResolver'] = $app->protect(function($entry) use($app) { |
|
| 49 | 49 | return is_string($entry) ? $app[$entry] : $entry; |
| 50 | 50 | }); |
| 51 | 51 | |
| 52 | - $app['relay.factory'] = $app->protect(function ($queue) use($app) { |
|
| 52 | + $app['relay.factory'] = $app->protect(function($queue) use($app) { |
|
| 53 | 53 | return new Relay($queue, $app['relay.pimpleResolver']); |
| 54 | 54 | }); |
| 55 | 55 | |
@@ -115,7 +115,7 @@ |
||
| 115 | 115 | $result = true; |
| 116 | 116 | } catch (Exception $e) { |
| 117 | 117 | if (isset($this['uSilex.exceptionHandler'])) { |
| 118 | - $response = isset($request) |
|
| 118 | + $response = isset($request) |
|
| 119 | 119 | ? call_user_func($this['uSilex.exceptionHandler'], $e, $request) |
| 120 | 120 | : call_user_func($this['uSilex.exceptionHandler'], $e); |
| 121 | 121 | call_user_func($this['uSilex.responseEmitter'], $response); |