Completed
Push — 3.0 ( fb09f5...9f4a0e )
by Daniel
02:19
created
src/MagentoHackathon/Composer/Helper.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,6 +79,9 @@  discard block
 block discarded – undo
79 79
         return $result;
80 80
     }
81 81
     
82
+    /**
83
+     * @param string $vendorDir
84
+     */
82 85
     public static function initMagentoRootDir(
83 86
         ProjectConfig $projectConfig,
84 87
         \Composer\IO\IOInterface $io,
@@ -116,7 +119,7 @@  discard block
 block discarded – undo
116 119
      *
117 120
      * @param        $path1
118 121
      * @param        $path2
119
-     * @param        $delimiter
122
+     * @param        string $delimiter
120 123
      * @param bool   $prependDelimiter
121 124
      * @param string $additionalPrefix
122 125
      *
@@ -140,7 +143,7 @@  discard block
 block discarded – undo
140 143
 
141 144
     /**
142 145
      * @param $path1
143
-     * @param $path2
146
+     * @param string $path2
144 147
      *
145 148
      * @return string
146 149
      */
Please login to merge, or discard this patch.
src/MagentoHackathon/Composer/Magento/Plugin.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
     /**
330 330
      * return the autoload generator binary path or false if not found
331 331
      *
332
-     * @return bool|string
332
+     * @return false|string
333 333
      */
334 334
     protected function getTheseerAutoloadExecutable()
335 335
     {
@@ -397,7 +397,8 @@  discard block
 block discarded – undo
397 397
     /**
398 398
      * print Debug Message
399 399
      *
400
-     * @param $message
400
+     * @param string $message
401
+     * @param string $varDump
401 402
      */
402 403
     private function writeDebug($message, $varDump = null)
403 404
     {
Please login to merge, or discard this patch.
src/MagentoHackathon/Composer/Magento/ProjectConfig.php 1 patch
Doc Comments   +15 added lines, -8 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     }
109 109
 
110 110
     /**
111
-     * @param $packagename
111
+     * @param string $packagename
112 112
      *
113 113
      * @return null
114 114
      */
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
     }
135 135
 
136 136
     /**
137
-     * @param $rootDir
137
+     * @param string $rootDir
138 138
      */
139 139
     public function setMagentoRootDir($rootDir)
140 140
     {
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
     }
214 214
 
215 215
     /**
216
-     * @param $packagename
216
+     * @param string $packagename
217 217
      *
218 218
      * @return integer
219 219
      */
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
     }
243 243
 
244 244
     /**
245
-     * @param $packagename
245
+     * @param string $packagename
246 246
      *
247 247
      * @return array
248 248
      */
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
     }
282 282
 
283 283
     /**
284
-     * @return string
284
+     * @return boolean
285 285
      */
286 286
     public function getMagentoForce()
287 287
     {
@@ -296,6 +296,9 @@  discard block
 block discarded – undo
296 296
         return $this->hasExtraField(self::MAGENTO_FORCE_KEY);
297 297
     }
298 298
 
299
+    /**
300
+     * @param string $packagename
301
+     */
299 302
     public function getMagentoForceByPackageName($packagename)
300 303
     {
301 304
         return $this->getMagentoForce();
@@ -341,14 +344,18 @@  discard block
 block discarded – undo
341 344
             (array)$this->fetchVarFromExtraConfig(self::MAGENTO_MAP_OVERWRITE_KEY)
342 345
         );
343 346
     }
347
+
348
+    /**
349
+     * @param string $key
350
+     */
344 351
     protected function hasExtraField($key)
345 352
     {
346 353
         return (bool)!is_null($this->fetchVarFromExtraConfig($key));
347 354
     }
348 355
 
349 356
     /**
350
-     * @param $key
351
-     * @param $value
357
+     * @param string $key
358
+     * @param string $value
352 359
      */
353 360
     protected function updateExtraConfig($key, $value)
354 361
     {
@@ -396,7 +403,7 @@  discard block
 block discarded – undo
396 403
      * @param JsonFile $json
397 404
      * @param array    $base
398 405
      * @param array    $new
399
-     * @param          $rootKey
406
+     * @param          string $rootKey
400 407
      *
401 408
      * @return bool
402 409
      */
Please login to merge, or discard this patch.