Completed
Push — master ( 12eb43...1c631b )
by Scott
11s
created
src/CodeClimateLoader.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -76,6 +76,9 @@
 block discarded – undo
76 76
         }
77 77
     }
78 78
 
79
+    /**
80
+     * @param string $codeClimateFormat
81
+     */
79 82
     private function convertToJson($codeClimateFormat)
80 83
     {
81 84
         $codeClimateFormat = str_replace("\0", ',', $codeClimateFormat);
Please login to merge, or discard this patch.
src/FileParser.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@  discard block
 block discarded – undo
11 11
     protected $classes = [];
12 12
     protected $functions = [];
13 13
 
14
+    /**
15
+     * @param string $sourceCode
16
+     */
14 17
     public function __construct($sourceCode)
15 18
     {
16 19
         $this->sourceCode = $sourceCode;
@@ -53,11 +56,17 @@  discard block
 block discarded – undo
53 56
         return new CodeLimits($startLine, $endLine);
54 57
     }
55 58
 
59
+    /**
60
+     * @param CodeLimits $classLimits
61
+     */
56 62
     protected function addClass($classLimits)
57 63
     {
58 64
         $this->classes[] = $classLimits;
59 65
     }
60 66
 
67
+    /**
68
+     * @param CodeLimits $classLimits
69
+     */
61 70
     protected function addFunction($classLimits)
62 71
     {
63 72
         $this->functions[] = $classLimits;
Please login to merge, or discard this patch.
src/PhanJsonLoader.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -8,6 +8,9 @@
 block discarded – undo
8 8
  */
9 9
 class PhanJsonLoader extends CodeClimateLoader
10 10
 {
11
+    /**
12
+     * @param string $file
13
+     */
11 14
     public function __construct($file)
12 15
     {
13 16
         $this->file = json_decode(file_get_contents($file));
Please login to merge, or discard this patch.