8000
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 081eb17 + 7790d41 commit f8033e2Copy full SHA for f8033e2
src/Symfony/Component/Filesystem/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