mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SecureLinkFixer
synced 2024-11-13 18:27:04 +00:00
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:
parent
9fb13bf9f6
commit
3ef5362f06
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue