Completed
Push — master ( 3b50e0...d26cb9 )
by Lorenzo
01:59
created
src/DirHelper.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
 
240 240
     /**
241 241
      * Remove start slash ('/') char in dir if starts with slash.
242
-     * @param $directory
242
+     * @param string $directory
243 243
      * @return string
244 244
      */
245 245
     public static function removeStartSlash($directory) : string
@@ -366,7 +366,7 @@  discard block
 block discarded – undo
366 366
 
367 367
     /**
368 368
      * Check if win special drive C: or Normal win drive C:/  C:\
369
-     * @param $path
369
+     * @param string $path
370 370
      * @return bool
371 371
      */
372 372
     protected static function isAbsoluteWindowsRoot($path):bool
@@ -493,7 +493,7 @@  discard block
 block discarded – undo
493 493
 
494 494
     /**
495 495
      * Collapse dot folder '.', '..', if possible
496
-     * @param $root
496
+     * @param string $root
497 497
      * @param $part
498 498
      * @param $canonicalParts
499 499
      */
@@ -533,7 +533,7 @@  discard block
 block discarded – undo
533 533
      *
534 534
      * @param string $path The canonical path to split
535 535
      *
536
-     * @return array An array with the root directory and the remaining relative
536
+     * @return string[] An array with the root directory and the remaining relative
537 537
      *               path
538 538
      * @see https://github.com/laradic/support/blob/master/src/Path.php
539 539
      */
Please login to merge, or discard this patch.