Passed
Push — main ( 41f2b8...394de6 )
by Osvaldo
04:44 queued 02:37
created
src/App.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,10 +22,12 @@
 block discarded – undo
22 22
         }
23 23
     }
24 24
 
25
-    private function do(MiddlewareInterface $midleware)
25
+    private function do {
26
+        (MiddlewareInterface $midleware)
26 27
     {
27 28
         $this->midleware->add($midleware);
28 29
     }
30
+    }
29 31
 
30 32
     public function run(PeticionInterface $Peticion)
31 33
     {
Please login to merge, or discard this patch.
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
             return $midleware($peticion, $next);
24 24
         };
25 25
     }
Please login to merge, or discard this patch.