Completed
Push — master ( 93ffee...848a12 )
by Iman
01:24
created
src/Checks/ActionsComments.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -28,6 +28,9 @@  discard block
 block discarded – undo
28 28
         }
29 29
     }
30 30
 
31
+    /**
32
+     * @param string $fullNamespace
33
+     */
31 34
     protected static function checkActions($tokens, $fullNamespace, $path)
32 35
     {
33 36
         $class = ClassMethods::read($tokens);
@@ -73,6 +76,9 @@  discard block
 block discarded – undo
73 76
         return $routelessActions;
74 77
     }
75 78
 
79
+    /**
80
+     * @param \Illuminate\Routing\Route $route
81
+     */
76 82
     protected static function getMsg($methods, $route)
77 83
     {
78 84
         $msg = '/**'."\n";
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Imanghafoori\LaravelMicroscope\Checks;
4 4
 
5
-use Imanghafoori\LaravelMicroscope\Analyzers\Refactor;
6 5
 use Imanghafoori\LaravelMicroscope\Analyzers\ClassMethods;
6
+use Imanghafoori\LaravelMicroscope\Analyzers\Refactor;
7 7
 
8 8
 class ActionsComments
9 9
 {
Please login to merge, or discard this patch.
src/Checks/PSR12/CurlyBraces.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -38,6 +38,10 @@  discard block
 block discarded – undo
38 38
         }
39 39
     }
40 40
 
41
+    /**
42
+     * @param integer $level
43
+     * @param integer $i
44
+     */
41 45
     private static function openCurly($token, $level, $tokens, $i, $classFilePath)
42 46
     {
43 47
         if ($token == '{' && ! in_array($tokens[$i - 1][0], [T_DOUBLE_COLON, T_OBJECT_OPERATOR])) {
@@ -55,6 +59,11 @@  discard block
 block discarded – undo
55 59
         }
56 60
     }
57 61
 
62
+    /**
63
+     * @param integer $level
64
+     * @param boolean $isInClass
65
+     * @param integer $i
66
+     */
58 67
     private static function writePublic($level, $token, $isInClass, $i, $tokens, $classFilePath)
59 68
     {
60 69
         if (($level != 1) || ($token[0] != T_FUNCTION) || ! $isInClass) {
Please login to merge, or discard this patch.