From 7508d5aec5fc77dc0b472b051d92d579095befb9 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Wed, 12 Jun 2019 20:41:13 +0200 Subject: [PATCH] Fix doc type of Installer::addInstallStep The argument $callback is not a callable The callable is in $callback['callable'], so change the type to array Change-Id: I9b990f2729874b2743cbcc501b97758da5bf8154 --- includes/installer/Installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index 26f9bf0d3d..33d4fccda0 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -1803,7 +1803,7 @@ abstract class Installer { /** * Add an installation step following the given step. * - * @param callable $callback A valid installation callback array, in this form: + * @param array $callback A valid installation callback array, in this form: * [ 'name' => 'some-unique-name', 'callback' => [ $obj, 'function' ] ]; * @param string $findStep The step to find. Omit to put the step at the beginning */ -- 2.20.1