Fix param documentation of ProtectionForm::show
authorUmherirrender <umherirrender_de.wp@web.de>
Sat, 29 Jun 2019 15:22:44 +0000 (17:22 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Sat, 29 Jun 2019 15:22:44 +0000 (17:22 +0200)
It also allows array

Change-Id: I513d6fd356933a2c2f45a1773dd2f59b967a1bf2

includes/ProtectionForm.php

index 2f10598..4bead34 100644 (file)
@@ -200,7 +200,7 @@ class ProtectionForm {
        /**
         * Show the input form with optional error message
         *
-        * @param string|null $err Error message or null if there's no error
+        * @param string|string[]|null $err Error message or null if there's no error
         */
        function show( $err = null ) {
                $out = $this->mContext->getOutput();