Use explicit nullable type on parameter arguments (for PHP 8.4)

Implicitly marking parameter $... as nullable is deprecated in PHP
8.4. The explicit nullable type must be used instead.

Bug: T376276
Change-Id: I8e34f5e92cf8ae173ad34cc91caf9d2027c72bf4
This commit is contained in:
Andre Klapper 2024-10-26 15:11:15 +02:00
parent 9fb13bf9f6
commit 3ef5362f06

View file

@ -40,7 +40,7 @@ class ListFetcher {
/**
* @param callable|null $output
*/
public function __construct( callable $output = null ) {
public function __construct( ?callable $output = null ) {
$this->output = $output;
}