We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 52b8885 + 3a44421 commit 6c9e4c4Copy full SHA for 6c9e4c4
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