From 49c618d833d727fbc9dbcc5279d5f7f3b98f2a34 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Sat, 29 Jun 2019 17:22:44 +0200 Subject: [PATCH] Fix param documentation of ProtectionForm::show It also allows array Change-Id: I513d6fd356933a2c2f45a1773dd2f59b967a1bf2 --- includes/ProtectionForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index 2f1059886d..4bead3464c 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -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(); -- 2.20.1