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 GitHub
parent 550a6831f3
commit d5fa9a6878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -243,10 +243,10 @@ class GlobalFunctionsHelper
* @see basename() * @see basename()
* *
* @param string $path * @param string $path
* @param string|null $suffix * @param string $suffix
* @return string * @return string
*/ */
public function basename($path, $suffix = null) public function basename($path, $suffix = '')
{ {
return \basename($path, $suffix); return \basename($path, $suffix);
} }