We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d53a450 commit 3a44421Copy full SHA for 3a44421
Path.php
@@ -257,7 +257,7 @@ public static function getRoot(string $path): string
257
* @param string|null $extension if specified, only that extension is cut
258
* off (may contain leading dot)
259
*/
260
- public static function getFilenameWithoutExtension(string $path, string $extension = null)
+ public static function getFilenameWithoutExtension(string $path, string $extension = null): string
261
{
262
if ('' === $path) {
263
return '';
0 commit comments