File tree 1 file changed +6
-6
lines changed
src/Symfony/Component/Filesystem 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -585,31 +585,31 @@ public static function isLocal(string $path): bool
585
585
* into forward slashes.
586
586
*
587
587
* ```php
588
- * $basePath = Path::getLongestCommonBasePath([
588
+ * $basePath = Path::getLongestCommonBasePath(
589
589
* '/symfony/css/style.css',
590
590
* '/symfony/css/..'
591
- * ] );
591
+ * );
592
592
* // => /symfony
593
593
* ```
594
594
*
595
595
* The root is returned if no common base path can be found:
596
596
*
597
597
* ```php
598
- * $basePath = Path::getLongestCommonBasePath([
598
+ * $basePath = Path::getLongestCommonBasePath(
599
599
* '/symfony/css/style.css',
600
600
* '/puli/css/..'
601
- * ] );
601
+ * );
602
602
* // => /
603
603
* ```
604
604
*
605
605
* If the paths are located on different Windows partitions, `null` is
606
606
* returned.
607
607
*
608
608
* ```php
609
- * $basePath = Path::getLongestCommonBasePath([
609
+ * $basePath = Path::getLongestCommonBasePath(
610
610
* 'C:/symfony/css/style.css',
611
611
* 'D:/symfony/css/..'
612
- * ] );
612
+ * );
613
613
* // => null
614
614
* ```
615
615
*/
You can’t perform that action at this time.
0 commit comments