Passed
Branch main (0d77b4)
by Osvaldo
19:24 queued 09:46
created
src/Middleware.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 
11 11
     public function __construct()
12 12
     {
13
-        $this->start = function ($peticion){
13
+        $this->start = function($peticion) {
14 14
             return $peticion;
15 15
         };
16 16
     }
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     {
20 20
         $next = $this->start;
21 21
 
22
-        $this->start = function (PeticionInterface $peticion) use ($midleware, $next)
22
+        $this->start = function(PeticionInterface $peticion) use ($midleware, $next)
23 23
         {
24 24
             return $midleware($peticion, $next);
25 25
         };
Please login to merge, or discard this patch.
src/App.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,9 +23,11 @@
 block discarded – undo
23 23
         }
24 24
     }
25 25
 
26
-    private function do(MiddlewareInterface $midleware)
26
+    private function do {
27
+        (MiddlewareInterface $midleware)
27 28
     {
28
-        $this->midleware->add($midleware);        
29
+        $this->midleware->add($midleware);
30
+    }
29 31
     }
30 32
 
31 33
     public function run(PeticionInterface $Peticion)
Please login to merge, or discard this patch.