Update GlobalFunctionsHelper.php
fix for php 8.1
This commit is contained in:
1 parent
550a6831f3
commit
d5fa9a6878
1 file changed
+2
-2
@@ -243,10 +243,10 @@ class GlobalFunctionsHelper
|
||||
* @see basename()
|
||||
*
|
||||
* @param string $path
|
||||
* @param string|null $suffix
|
||||
* @param string $suffix
|
||||
* @return string
|
||||
*/
|
||||
public function basename($path, $suffix = null)
|
||||
public function basename($path, $suffix = '')
|
||||
{
|
||||
return \basename($path, $suffix);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user