@@ -28,12 +28,12 @@ |
||
28 | 28 | |
29 | 29 | private function createPluginChain($pluginList) |
30 | 30 | { |
31 | - $lastCallable = function () {}; // Last callable is a NO-OP |
|
31 | + $lastCallable = function() {}; // Last callable is a NO-OP |
|
32 | 32 | while ($plugin = array_pop($pluginList)) { |
33 | - if (! $plugin instanceof ErrorHandlerPluginInterface) { |
|
33 | + if (!$plugin instanceof ErrorHandlerPluginInterface) { |
|
34 | 34 | throw InvalidErrorHandlerPluginException::forPlugin($plugin); |
35 | 35 | } |
36 | - $lastCallable = function ($error, ExecutionContext $executionContext) use ($plugin, $lastCallable) { |
|
36 | + $lastCallable = function($error, ExecutionContext $executionContext) use ($plugin, $lastCallable) { |
|
37 | 37 | return $plugin->execute($error, $executionContext, $lastCallable); |
38 | 38 | }; |
39 | 39 | } |