Skip to content

Commit 7fc9baa

Browse files
Merge branch '5.4' into 6.0
* 5.4: [Messenger] Fix dealing with unexpected payload in Redis transport [Filesystem] Update some PHPDoc of the Path class [VarDumper] Fix dumping mysqli_driver instances Fix missing ReturnTypeWillChange attributes [Cache] Add missing log when saving namespace [HttpKernel] Reset services between requests performed by KernelBrowser [HttpKernel] Remove unused argument in ArgumentMetadataFactory [Stopwatch] Fix test expectation [SecurityBundle] fix autoconfiguring Monolog's ProcessorInterface KernelTestCase resets internal state on tearDown [Security/Http] Fix getting password-upgrader when user-loader is a closure [HttpKernel] Fix extracting controller name from closures [Intl] fix wrong offset timezone PHP 8.1 Fix type binding Remove duplicated test [Dotenv] Fix reading config for symfony/runtime when running dump command [Serializer] Remove unnecessary break [Runtime] Fix dotenv_overload with commands Make document type nodes ignorable Initialize Symfony\Component\Security\Core\Exception\AccountStatusException:: property
2 parents 6ae49c4 + 808d280 commit 7fc9baa

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Path.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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
*/

0 commit comments

Comments
 (0)