Passed
Push — master ( d5342d...ace0e3 )
by Felipe
02:01
created
tests/Middleware/RequestMethodMiddlewareTest.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 
44 44
     public function provideMethods()
45 45
     {
46
-        $reflection    = new \ReflectionClass(RequestMethodInterface::class);
46
+        $reflection = new \ReflectionClass(RequestMethodInterface::class);
47 47
         $allowedMethods = $reflection->getConstants();
48 48
 
49 49
         return \array_chunk($allowedMethods, 1);
@@ -77,8 +77,7 @@  discard block
 block discarded – undo
77 77
     {
78 78
         $this->serverRequest->getMethod()->willReturn(
79 79
             $method === RequestMethodInterface::METHOD_GET ?
80
-                RequestMethodInterface::METHOD_POST :
81
-                RequestMethodInterface::METHOD_GET
80
+                RequestMethodInterface::METHOD_POST : RequestMethodInterface::METHOD_GET
82 81
         );
83 82
 
84 83
         $middleware = new RequestMethodMiddleware(
Please login to merge, or discard this patch.