Clean up $params argument to Job subclasses to type hint an array

Change-Id: I4bb19720aa9ea8e1d3da1a3e4e6a89cfe1611a07
This commit is contained in:
Aaron Schulz 2019-03-29 11:46:18 -07:00
parent cd4f27afc1
commit 75773a929b

View file

@ -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 );
}