Fix doc type of Installer::addInstallStep
authorUmherirrender <umherirrender_de.wp@web.de>
Wed, 12 Jun 2019 18:41:13 +0000 (20:41 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Wed, 12 Jun 2019 18:41:13 +0000 (20:41 +0200)
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

index 26f9bf0..33d4fcc 100644 (file)
@@ -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
         */