8000 Merge branch '5.4' into 6.0 · symfony/symfony@f8033e2 · GitHub
[go: up one dir, main page]

Skip to content

Commit f8033e2

Browse files
Merge branch '5.4' into 6.0
* 5.4: Missing return type in getFilenameWithoutExtension function
2 parents 081eb17 + 7790d41 commit f8033e2

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Component/Filesystem

1 file changed

+1
-1
lines changed

src/Symfony/Component/Filesystem/Path.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ public static function getRoot(string $path): string
257257
* @param string|null $extension if specified, only that extension is cut
258258
* off (may contain leading dot)
259259
*/
260-
public static function getFilenameWithoutExtension(string $path, string $extension = null)
260+
public static function getFilenameWithoutExtension(string $path, string $extension = null): string
261261
{
262262
if ('' === $path) {
263263
return '';

0 commit comments

Comments
 (0)
0