From e3c28dffa3fa6186a28a151d8541f547d095b188 Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Mon, 8 Jun 2020 21:42:35 +0800 Subject: [PATCH] MDL-68968 core: fix wrong phpdoc on admin_externalpage --- lib/adminlib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/adminlib.php b/lib/adminlib.php index 1a0235c1da9..f68769894a7 100644 --- a/lib/adminlib.php +++ b/lib/adminlib.php @@ -1201,7 +1201,7 @@ class admin_externalpage implements part_of_admin_tree { /** @var string The external URL that we should link to when someone requests this external page. */ public $url; - /** @var string The role capability/permission a user must have to access this external page. */ + /** @var array The role capability/permission a user must have to access this external page. */ public $req_capability; /** @var object The context in which capability/permission should be checked, default is site context. */ @@ -1425,7 +1425,7 @@ class admin_settingpage implements part_of_admin_tree { /** @var admin_settingdependency[] list of settings to hide when certain conditions are met */ protected $dependencies = []; - /** @var string The role capability/permission a user must have to access this external page. */ + /** @var array The role capability/permission a user must have to access this external page. */ public $req_capability; /** @var object The context in which capability/permission should be checked, default is site context. */