From: Umherirrender Date: Wed, 12 Jun 2019 18:41:13 +0000 (+0200) Subject: Fix doc type of Installer::addInstallStep X-Git-Tag: 1.34.0-rc.0~1413^2 X-Git-Url: https://git.cyclocoop.org/admin/Duna?a=commitdiff_plain;h=7508d5aec5fc77dc0b472b051d92d579095befb9;p=lhc%2Fweb%2Fwiklou.git 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 --- 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 */