Update GlobalFunctionsHelper.php

This commit is contained in:
Jörg Mönke authored and GitHub committed 2022-01-25 10:58:57 +01:00
1 parent 6f1b67b39d
commit 2701c0adb3
1 file changed
+1 -1
@@ -248,7 +248,7 @@ class GlobalFunctionsHelper
*/ */
public function basename($path, $suffix = null) public function basename($path, $suffix = null)
{ {
return \basename($path, $suffix); return \basename($path, $suffix ?? '');
} }
/** /**