Completed
Push — master ( 29b4a3...99be91 )
by Iman
02:00
created
src/Commands/CheckEarlyReturns.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@  discard block
 block discarded – undo
68 68
         $this->printFinalMsg($fixedFilesCount);
69 69
     }
70 70
 
71
+    /**
72
+     * @param integer $tries
73
+     */
71 74
     private function fix($filePath, $tokens, $tries)
72 75
     {
73 76
         Refactor::saveTokens($filePath, $tokens, $this->option('test'));
@@ -85,6 +88,9 @@  discard block
 block discarded – undo
85 88
         return [$fixes, $tokens];
86 89
     }
87 90
 
91
+    /**
92
+     * @param integer $fixed
93
+     */
88 94
     private function printFinalMsg($fixed)
89 95
     {
90 96
         if ($fixed > 0) {
Please login to merge, or discard this patch.
src/Commands/CheckRoutes.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -60,6 +60,9 @@
 block discarded – undo
60 60
         return 'Error on route '.$msg;
61 61
     }
62 62
 
63
+    /**
64
+     * @param ErrorPrinter $errorPrinter
65
+     */
63 66
     private function checkRouteDefinitions($errorPrinter, $routes)
64 67
     {
65 68
         foreach ($routes as $route) {
Please login to merge, or discard this patch.
src/Commands/CheckViews.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,13 +4,13 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Console\Command;
6 6
 use Illuminate\Support\Facades\View;
7
-use Imanghafoori\LaravelMicroscope\BladeFiles;
8
-use Imanghafoori\LaravelMicroscope\Analyzers\FilePath;
9
-use Imanghafoori\LaravelMicroscope\ErrorTypes\BladeFile;
10
-use Imanghafoori\LaravelMicroscope\SpyClasses\RoutePaths;
11 7
 use Imanghafoori\LaravelMicroscope\Analyzers\ComposerJson;
8
+use Imanghafoori\LaravelMicroscope\Analyzers\FilePath;
12 9
 use Imanghafoori\LaravelMicroscope\Analyzers\FunctionCall;
10
+use Imanghafoori\LaravelMicroscope\BladeFiles;
13 11
 use Imanghafoori\LaravelMicroscope\Checks\CheckViewFilesExistence;
12
+use Imanghafoori\LaravelMicroscope\ErrorTypes\BladeFile;
13
+use Imanghafoori\LaravelMicroscope\SpyClasses\RoutePaths;
14 14
 
15 15
 class CheckViews extends Command
16 16
 {
Please login to merge, or discard this patch.