Update GlobalFunctionsHelper.php

This commit is contained in:
Jörg Mönke 2022-01-25 10:58:57 +01:00 committed by GitHub
parent 6f1b67b39d
commit 2701c0adb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -248,7 +248,7 @@ class GlobalFunctionsHelper
*/
public function basename($path, $suffix = null)
{
return \basename($path, $suffix);
return \basename($path, $suffix ?? '');
}
/**