From 44d8a9409e382932df0c0ac71779ca21eb32ae95 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Fri, 17 Sep 2010 09:33:05 +0000 Subject: [PATCH] fixed phpdocs param types --- lib/adminlib.php | 4 ++-- mod/wiki/locallib.php | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/adminlib.php b/lib/adminlib.php index 88361d3d1c7..df80006ca79 100644 --- a/lib/adminlib.php +++ b/lib/adminlib.php @@ -1001,7 +1001,7 @@ class admin_externalpage implements part_of_admin_tree { * @param string $url The external URL that we should link to when someone requests this external page. * @param mixed $req_capability The role capability/permission a user must have to access this external page. Defaults to 'moodle/site:config'. * @param boolean $hidden Is this external page hidden in admin tree block? Default false. - * @param context $context The context the page relates to. Not sure what happens + * @param stdClass $context The context the page relates to. Not sure what happens * if you specify something other than system or front page. Defaults to system. */ public function __construct($name, $visiblename, $url, $req_capability='moodle/site:config', $hidden=false, $context=NULL) { @@ -1142,7 +1142,7 @@ class admin_settingpage implements part_of_admin_tree { * @param string $visiblename The displayed name for this external page. Usually obtained through get_string(). * @param mixed $req_capability The role capability/permission a user must have to access this external page. Defaults to 'moodle/site:config'. * @param boolean $hidden Is this external page hidden in admin tree block? Default false. - * @param context $context The context the page relates to. Not sure what happens + * @param stdClass $context The context the page relates to. Not sure what happens * if you specify something other than system or front page. Defaults to system. */ public function __construct($name, $visiblename, $req_capability='moodle/site:config', $hidden=false, $context=NULL) { diff --git a/mod/wiki/locallib.php b/mod/wiki/locallib.php index deb8d84c37c..b03aa915b47 100644 --- a/mod/wiki/locallib.php +++ b/mod/wiki/locallib.php @@ -654,10 +654,10 @@ function wiki_parser_table($table) { /** * Returns an absolute path link, unless there is no such link. * - * @param url Link's URL - * @param context filearea params - * @param filearea - * @param fileareaid + * @param string url Link's URL + * @param stdClass context filearea params + * @param string filearea + * @param int fileareaid * * @return File full path */ @@ -995,8 +995,8 @@ function wiki_delete_old_locks() { /** * Uploads files to permanent disk space. * - * @param draftitemid Draft space ID - * @param contextid + * @param int draftitemid Draft space ID + * @param int contextid * * @return array of files that have not been inserted. */