Completed
Push — master ( 7a70a9...536f20 )
by Andrii
02:06
created
src/PackageManager.php 1 patch
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,6 +84,9 @@  discard block
 block discarded – undo
84 84
         );
85 85
     }
86 86
 
87
+    /**
88
+     * @param string $file
89
+     */
87 90
     public function readConfig($file)
88 91
     {
89 92
         $jsonFile = new JsonFile($file);
@@ -96,6 +99,9 @@  discard block
 block discarded – undo
96 99
         return $config;
97 100
     }
98 101
 
102
+    /**
103
+     * @param string $file
104
+     */
99 105
     public function writeConfig($file, $config)
100 106
     {
101 107
         foreach ($this->keyTable as $key) {
@@ -150,6 +156,8 @@  discard block
 block discarded – undo
150 156
     /**
151 157
      * Check if $a is more then $b, like: a="1.1 || 2.2" b="1.1"
152 158
      * Possible optimization.
159
+     * @param string $a
160
+     * @param string $b
153 161
      */
154 162
     public function isMoreVersion($a, $b)
155 163
     {
@@ -184,7 +192,7 @@  discard block
 block discarded – undo
184 192
 
185 193
     /**
186 194
      * Prepares given command arguments.
187
-     * @param string|array $args
195
+     * @param string $args
188 196
      * @return string
189 197
      */
190 198
     public function prepareCommand($args = '')
Please login to merge, or discard this patch.