Skip to content

Commit 3a44421

Browse files
author
Blackfelix
committed
Missing return type in getFilenameWithoutExtension function
1 parent d53a450 commit 3a44421

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Path.php

+1-1
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)