Passed
Push — master ( f7dc71...22a57b )
by Enrico
02:33
created
html/example1.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 
6 6
 $app = new \uSilex\Application;
7 7
 $app['uSilex.request'] = \Zend\Diactoros\ServerRequestFactory::fromGlobals();
8
-$app['uSilex.responseEmitter'] = $app->protect( function($response) {echo $response->getBody();});
8
+$app['uSilex.responseEmitter'] = $app->protect(function($response) {echo $response->getBody(); });
9 9
 $app['uSilex.httpHandler'] = function($app) {
10 10
     return new \Relay\Relay([new MyMiddleware($app)]);
11 11
 };
Please login to merge, or discard this patch.
src/Provider/Psr15/ZendPipeServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
         $app['uSilex.httpHandler'] = function($app) {
60 60
             $piper = $app['piper'];
61 61
             foreach ($app['handler.queue'] as $middlewareService) {
62
-                $piper->pipe( $app[$middlewareService]);
62
+                $piper->pipe($app[$middlewareService]);
63 63
             }
64 64
             return $piper;
65 65
         };
Please login to merge, or discard this patch.