Skip to content

Commit 7e0ff4e

Browse files
djadobe16W0rma
authored andcommitted
Explicit nullable type added with PHP 8.4 support
1 parent 9738e2e commit 7e0ff4e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/Codeception/Util/sq.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Codeception\Module\Sequence;
66

7-
function sq(int|string $id = null): string
7+
function sq(int|string|null $id = null): string
88
{
99
if ($id && isset(Sequence::$hash[$id])) {
1010
return Sequence::$hash[$id];
@@ -19,7 +19,7 @@ function sq(int|string $id = null): string
1919
return $sequence;
2020
}
2121

22-
function sqs(int|string $id = null): string
22+
function sqs(int|string|null $id = null): string
2323
{
2424
if ($id && isset(Sequence::$suiteHash[$id])) {
2525
return Sequence::$suiteHash[$id];

0 commit comments

Comments
 (0)