Passed
Push — master ( ad0000...6744b7 )
by Felipe
01:50
created
src/Application.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,12 +52,11 @@
 block discarded – undo
52 52
             new MiddlewareHandler(
53 53
                 $middleware,
54 54
                 $handler
55
-            ) :
56
-            new RequestHandlerMiddleware(
55
+            ) : new RequestHandlerMiddleware(
57 56
                 $handler
58 57
             );
59 58
 
60
-        $this->client  = new PsrHttpClient(
59
+        $this->client = new PsrHttpClient(
61 60
             $this->handler,
62 61
             $serverRequestFactory
63 62
         );
Please login to merge, or discard this patch.
tests/Handler/CallableHandlerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
     public function testInvalidCallbackThrowsTypeError()
35 35
     {
36
-        $handler = new CallableHandler(function(){});
36
+        $handler = new CallableHandler(function() {});
37 37
         $this->expectException(TypeError::class);
38 38
         $handler->handle($this->serverRequest->reveal());
39 39
     }
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     public function testHandleReturnsCallbackResponse()
42 42
     {
43 43
         $response = $this->response;
44
-        $callback = function () use ($response) {
44
+        $callback = function() use ($response) {
45 45
             return $response->reveal();
46 46
         };
47 47
         $handler = new CallableHandler($callback);
Please login to merge, or discard this patch.