File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 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
585585 * into forward slashes.
586586 *
587587 * ```php
588- * $basePath = Path::getLongestCommonBasePath([
588+ * $basePath = Path::getLongestCommonBasePath(
589589 * '/symfony/css/style.css',
590590 * '/symfony/css/..'
591- * ] );
591+ * );
592592 * // => /symfony
593593 * ```
594594 *
595595 * The root is returned if no common base path can be found:
596596 *
597597 * ```php
598- * $basePath = Path::getLongestCommonBasePath([
598+ * $basePath = Path::getLongestCommonBasePath(
599599 * '/symfony/css/style.css',
600600 * '/puli/css/..'
601- * ] );
601+ * );
602602 * // => /
603603 * ```
604604 *
605605 * If the paths are located on different Windows partitions, `null` is
606606 * returned.
607607 *
608608 * ```php
609- * $basePath = Path::getLongestCommonBasePath([
609+ * $basePath = Path::getLongestCommonBasePath(
610610 * 'C:/symfony/css/style.css',
611611 * 'D:/symfony/css/..'
612- * ] );
612+ * );
613613 * // => null
614614 * ```
615615 */
You can’t perform that action at this time.
0 commit comments