Skip to content

Commit f73f7ce

Browse files
committed
Fix
1 parent 5156599 commit f73f7ce

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/bootstrap.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,9 +508,11 @@ function apply_filters( string $hook, mixed $value, mixed ...$args ): mixed {
508508
/**
509509
* Return null.
510510
*
511+
* The native null return type is intentional; this project requires PHP 8.2+.
512+
*
511513
* @return null
512514
*/
513-
function __return_null() {
515+
function __return_null(): null {
514516
return null;
515517
}
516518
}

0 commit comments

Comments
 (0)