Update GlobalFunctionsHelper.php

fix for php 8.1
This commit is contained in:
Jörg Mönke 2022-02-04 14:29:15 +01:00 committed by Adrien Loison
parent 550a6831f3
commit 5926207012

View File

@ -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);
}