Completed
Push — master ( b54375...6cc3e1 )
by Sergi Tur
03:58
created
src/Console/Routes/ControllerRoute.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      */
33 33
     protected function getStubPath()
34 34
     {
35
-        return __DIR__ . '/../stubs/route_with_controller.stub';
35
+        return __DIR__.'/../stubs/route_with_controller.stub';
36 36
     }
37 37
 
38 38
     /**
@@ -43,9 +43,9 @@  discard block
 block discarded – undo
43 43
     protected function obtainReplacements()
44 44
     {
45 45
         return [
46
-            'ROUTE_LINK' => $link = $this->getReplacements()[0],
47
-            'ROUTE_CONTROLLER' => $this->controller($this->getReplacements()[1]),
48
-            'ROUTE_METHOD' => $this->getReplacements()[2],
46
+            'ROUTE_LINK' => $link = $this->getReplacements()[ 0 ],
47
+            'ROUTE_CONTROLLER' => $this->controller($this->getReplacements()[ 1 ]),
48
+            'ROUTE_METHOD' => $this->getReplacements()[ 2 ],
49 49
             'ROUTE_NAME' => dot_path($link),
50 50
         ];
51 51
     }
Please login to merge, or discard this patch.
src/Console/Routes/RegularRoute.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      */
32 32
     protected function getStubPath()
33 33
     {
34
-        return __DIR__ . '/../stubs/route.stub';
34
+        return __DIR__.'/../stubs/route.stub';
35 35
     }
36 36
 
37 37
     /**
@@ -40,9 +40,9 @@  discard block
 block discarded – undo
40 40
     protected function obtainReplacements()
41 41
     {
42 42
         return [
43
-            'ROUTE_LINK' => $link = $this->getReplacements()[0],
44
-            'ROUTE_VIEW' => $this->getReplacements()[1],
45
-            'ROUTE_METHOD' => $this->getReplacements()[2],
43
+            'ROUTE_LINK' => $link = $this->getReplacements()[ 0 ],
44
+            'ROUTE_VIEW' => $this->getReplacements()[ 1 ],
45
+            'ROUTE_METHOD' => $this->getReplacements()[ 2 ],
46 46
             'ROUTE_NAME' => dot_path($link),
47 47
         ];
48 48
     }
Please login to merge, or discard this patch.