Skip to content

Commit 13f8d62

Browse files
Fix testing functions with return types
1 parent 74e2989 commit 13f8d62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function fdiv(float $dividend, float $divisor): float { return p\Php80::fdiv($di
1717
}
1818

1919
if (!function_exists('preg_last_error_msg')) {
20-
function preg_last_error_msg() { return p\Php80::preg_last_error_msg(); }
20+
function preg_last_error_msg(): string { return p\Php80::preg_last_error_msg(); }
2121
}
2222

2323
if (!defined('FILTER_VALIDATE_BOOL') && defined('FILTER_VALIDATE_BOOLEAN')) {

0 commit comments

Comments
 (0)