mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/LoginNotify
synced 2024-11-24 06:54:08 +00:00
Clean up $params argument to Job subclasses to type hint an array
Change-Id: I4bb19720aa9ea8e1d3da1a3e4e6a89cfe1611a07
This commit is contained in:
parent
cd4f27afc1
commit
75773a929b
|
@ -17,9 +17,9 @@ class DeferredChecksJob extends Job {
|
|||
|
||||
/**
|
||||
* @param Title $title
|
||||
* @param array|bool $params
|
||||
* @param array $params
|
||||
*/
|
||||
public function __construct( Title $title, $params = false ) {
|
||||
public function __construct( Title $title, array $params = [] ) {
|
||||
parent::__construct( 'LoginNotifyChecks', $title, $params );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue