Skip to content
This repository was archived by the owner on May 26, 2022. It is now read-only.

Commit 5926207

Browse files
joergmoenkeadrilo
authored andcommitted
Update GlobalFunctionsHelper.php
fix for php 8.1
1 parent 550a683 commit 5926207

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Spout/Common/Helper/GlobalFunctionsHelper.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,10 @@ public function is_readable($fileName)
243243
* @see basename()
244244
*
245245
* @param string $path
246-
* @param string|null $suffix
246+
* @param string $suffix
247247
* @return string
248248
*/
249-
public function basename($path, $suffix = null)
249+
public function basename($path, $suffix = '')
250250
{
251251
return \basename($path, $suffix);
252252
}

0 commit comments

Comments
 (0)