From 75773a929b2c3cc2930b0d813a32a4dffbeaf826 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 29 Mar 2019 11:46:18 -0700 Subject: [PATCH] Clean up $params argument to Job subclasses to type hint an array Change-Id: I4bb19720aa9ea8e1d3da1a3e4e6a89cfe1611a07 --- includes/DeferredChecksJob.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/DeferredChecksJob.php b/includes/DeferredChecksJob.php index 7e87d89..d108616 100644 --- a/includes/DeferredChecksJob.php +++ b/includes/DeferredChecksJob.php @@ -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 ); }