@@ -111,7 +111,7 @@ |
||
111 | 111 | public function __invoke(ServerRequestInterface $request, ResponseInterface $response, callable $next) |
112 | 112 | { |
113 | 113 | if ($this->whoops) { |
114 | - $this->whoops->pushHandler(function ($exception) use ($request, $response) { |
|
114 | + $this->whoops->pushHandler(function($exception) use ($request, $response) { |
|
115 | 115 | try { |
116 | 116 | echo self::executeTarget($this->handler, $this->arguments, Middleware::setAttribute($request, self::KEY, $exception), $response)->getBody(); |
117 | 117 | } catch (\Exception $exception) {} |
@@ -120,13 +120,13 @@ |
||
120 | 120 | if ($this->inlineCss) { |
121 | 121 | $cssMinify = new CssMinify(); |
122 | 122 | |
123 | - $options['cssMinifier'] = function ($css) use ($cssMinify) { |
|
123 | + $options['cssMinifier'] = function($css) use ($cssMinify) { |
|
124 | 124 | return $cssMinify->run($css); |
125 | 125 | }; |
126 | 126 | } |
127 | 127 | |
128 | 128 | if ($this->inlineJs) { |
129 | - $options['jsMinifier'] = function ($js) { |
|
129 | + $options['jsMinifier'] = function($js) { |
|
130 | 130 | return JsMinify::minify($js); |
131 | 131 | }; |
132 | 132 | } |