Passed
Push — master ( 882e9c...b89417 )
by Felipe
01:54
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(): void
35 35
     {
36
-        $handler = new CallableHandler(function (): void {
36
+        $handler = new CallableHandler(function(): void {
37 37
         });
38 38
         $this->expectException(TypeError::class);
39 39
         $handler->handle($this->serverRequest->reveal());
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     public function testHandleReturnsCallbackResponse(): void
43 43
     {
44 44
         $response = $this->response;
45
-        $callback = function () use ($response) {
45
+        $callback = function() use ($response) {
46 46
             return $response->reveal();
47 47
         };
48 48
         $handler = new CallableHandler($callback);
Please login to merge, or discard this patch.
tests/Middleware/RequestHandlerMiddlewareTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
         $this->middleware     = new RequestHandlerMiddleware($this->requestHandler->reveal());
51 51
 
52 52
         $testClass = $this;
53
-        $callback = function () use ($testClass) {
53
+        $callback = function() use ($testClass) {
54 54
             $testClass->execution[] = spl_object_hash($this);
55 55
             return $testClass->response->reveal();
56 56
         };
Please login to merge, or discard this patch.