Completed
Push — master ( b156e4...6e80de )
by Oscar
02:38
created
Category
src/Middleware/ErrorHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
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) {}
Please login to merge, or discard this patch.
src/Middleware/Minify.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -120,13 +120,13 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.