mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-68968 core: fix wrong phpdoc on admin_externalpage
This commit is contained in:
parent
94fdac9117
commit
e3c28dffa3
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user