Update GlobalFunctionsHelper.php
This commit is contained in:
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 ?? '');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user