Skip to content

Commit 7263bab

Browse files
committed
fix type
1 parent 75a4c9d commit 7263bab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/lib/utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function arrayGet($array, ...$keys)
2222
}
2323

2424
// like assert() but not subject to zend.assertions config
25-
function ensure(bool $condition, str|null $message = null)
25+
function ensure(bool $condition, ?string $message = null)
2626
{
2727
if (!$condition) {
2828
throw new EnsureException($message ?? "ensure condition is false");

0 commit comments

Comments
 (0)