Completed
Push — master ( 7cfccb...f4be5e )
by Iman
01:27
created
src/Analyzers/Refactor.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -59,6 +59,9 @@
 block discarded – undo
59 59
         return $string;
60 60
     }
61 61
 
62
+    /**
63
+     * @param \Closure $refactor
64
+     */
62 65
     private static function recursiveRefactor($tokens, $refactor)
63 66
     {
64 67
         $i = $changes = 0;
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
@@ -37,6 +37,10 @@  discard block
 block discarded – undo
37 37
         }
38 38
     }
39 39
 
40
+    /**
41
+     * @param integer $level
42
+     * @param integer $i
43
+     */
40 44
     private static function openCurly($token, $level, $tokens, $i, $classFilePath)
41 45
     {
42 46
         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, $absolutePath)
59 68
     {
60 69
         if (($level != 1) || ($token[0] != T_FUNCTION) || ! $isInClass) {
Please login to merge, or discard this patch.