Update GlobalFunctionsHelper.php
This commit is contained in:
parent
6f1b67b39d
commit
2701c0adb3
@ -248,7 +248,7 @@ class GlobalFunctionsHelper
|
||||
*/
|
||||
public function basename($path, $suffix = null)
|
||||
{
|
||||
return \basename($path, $suffix);
|
||||
return \basename($path, $suffix ?? '');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user