MDL-68968 core: fix wrong phpdoc on admin_externalpage

This commit is contained in:
Simey Lameze
2020-07-24 07:46:33 +08:00
parent f001dc447e
commit 0d2f34b40d
+2 -2
View File
@@ -1200,7 +1200,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. */
@@ -1424,7 +1424,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. */