Completed
Push — 1.0 ( 499dc3...8b26f6 )
by David
13s queued 11s
created
src/NodeJsInstaller.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -110,6 +110,7 @@  discard block
 block discarded – undo
110 110
      *
111 111
      * Note: trailing "v" will be removed from version string.
112 112
      *
113
+     * @param string $binDir
113 114
      * @return null|string
114 115
      */
115 116
     public function getNodeJsLocalInstallVersion($binDir)
@@ -289,6 +290,10 @@  discard block
 block discarded – undo
289 290
         }
290 291
     }
291 292
 
293
+    /**
294
+     * @param string $targetDir
295
+     * @param boolean $isLocal
296
+     */
292 297
     public function createBinScripts($binDir, $targetDir, $isLocal)
293 298
     {
294 299
         if (!file_exists($binDir)) {
@@ -316,6 +321,7 @@  discard block
 block discarded – undo
316 321
      * @param string $fullTargetDir
317 322
      * @param string $scriptName
318 323
      * @param bool   $isLocal
324
+     * @param string $target
319 325
      */
320 326
     private function createBinScript($binDir, $fullTargetDir, $scriptName, $target, $isLocal)
321 327
     {
@@ -376,6 +382,10 @@  discard block
 block discarded – undo
376 382
         return (strlen($relativePath) === 0) ? './' : $relativePath;
377 383
     }
378 384
 
385
+    /**
386
+     * @param string $zipFileName
387
+     * @param string $targetDir
388
+     */
379 389
     private function unzip($zipFileName, $targetDir)
380 390
     {
381 391
         $zip = new \ZipArchive();
Please login to merge, or discard this patch.
src/NodeJsPlugin.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -243,6 +243,7 @@
 block discarded – undo
243 243
     /**
244 244
      * Uninstalls NodeJS.
245 245
      * Note: other classes cannot be loaded here since the package has already been removed.
246
+     * @param string $targetDir
246 247
      */
247 248
     private function onUninstall($binDir, $targetDir)
248 249
     {
Please login to merge, or discard this patch.