Completed
Push — master ( 1fec91...e96ae6 )
by Iman
01:33
created
src/Commands/PrettyPrintRoutes.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -56,6 +56,9 @@  discard block
 block discarded – undo
56 56
         }
57 57
     }
58 58
 
59
+    /**
60
+     * @param string $value
61
+     */
59 62
     private function deduceRoute($value)
60 63
     {
61 64
         if (Str::containsAll($value, ['@', '\\'])) {
@@ -79,6 +82,9 @@  discard block
 block discarded – undo
79 82
         }
80 83
     }
81 84
 
85
+    /**
86
+     * @param string $action
87
+     */
82 88
     private function getMovableRoute($route, $methods, $action, $middlewares)
83 89
     {
84 90
         $nameSection = ($route->getName() ? ("->name('".$route->getName()."')") : '');
@@ -109,6 +115,9 @@  discard block
 block discarded – undo
109 115
         return $middlewares;
110 116
     }
111 117
 
118
+    /**
119
+     * @param Exception $e
120
+     */
112 121
     private function handleRouteProblem($e)
113 122
     {
114 123
         $this->info('The route has some problem.');
Please login to merge, or discard this patch.