From e6acc5518bbdc74b9dda7977ccd42e9edfe706e6 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Tue, 25 Oct 2011 15:28:52 +1300 Subject: [PATCH] MDL-29106 white space clean up --- enrol/externallib.php | 5 ++--- lib/db/services.php | 2 +- user/externallib.php | 8 ++++---- webservice/externallib.php | 8 ++++---- 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/enrol/externallib.php b/enrol/externallib.php index 6100fdd56311c..11d6074697ae0 100644 --- a/enrol/externallib.php +++ b/enrol/externallib.php @@ -102,8 +102,7 @@ public static function get_users_courses_returns() { ) ); } - - + /** * Returns description of method parameters * @return external_function_parameters @@ -217,7 +216,7 @@ public static function get_enrolled_users($courseid, $options) { return $users; } - + /** * Returns description of method result value * @return external_description diff --git a/lib/db/services.php b/lib/db/services.php index 90df2e6add8c1..73eed2ca01451 100644 --- a/lib/db/services.php +++ b/lib/db/services.php @@ -300,7 +300,7 @@ 'capabilities'=> 'moodle/site:viewparticipants, moodle/course:viewparticipants, moodle/role:review, moodle/site:accessallgroups, moodle/course:enrolreview', ), - + 'core_enrol_get_enrolled_users' => array( 'classname' => 'core_enrol_external', 'methodname' => 'get_enrolled_users', diff --git a/user/externallib.php b/user/externallib.php index 96b46daa56551..cf2576f573538 100644 --- a/user/externallib.php +++ b/user/externallib.php @@ -202,7 +202,7 @@ public static function delete_users_parameters() { /** * Delete users * @param array $userids - * @return null + * @return null */ public static function delete_users($userids) { global $CFG, $DB, $USER; @@ -293,7 +293,7 @@ public static function update_users_parameters() { /** * Update users * @param array $users - * @return null + * @return null */ public static function update_users($users) { global $CFG, $DB; @@ -684,7 +684,7 @@ public static function delete_users_parameters() { * Delete users * @deprecated since Moodle 2.2 please use core_user_external::delete_users instead * @param array $userids - * @return null + * @return null */ public static function delete_users($userids) { return core_user_external::delete_users($userids); @@ -713,7 +713,7 @@ public static function update_users_parameters() { * Update users * @deprecated since Moodle 2.2 please use core_user_external::update_users instead * @param array $users - * @return null + * @return null */ public static function update_users($users) { return core_user_external::update_users($users); diff --git a/webservice/externallib.php b/webservice/externallib.php index c42fdc5b62914..f1c0e32bac67d 100644 --- a/webservice/externallib.php +++ b/webservice/externallib.php @@ -30,7 +30,7 @@ class core_webservice_external extends external_api { /** * Returns description of method parameters - * @return type + * @return external_function_parameters */ public static function get_site_info_parameters() { return new external_function_parameters( @@ -121,7 +121,7 @@ public function get_site_info($serviceshortnames = array()) { /** * Returns description of method result value - * @return type + * @return external_single_structure */ public static function get_site_info_returns() { return new external_single_structure( @@ -155,7 +155,7 @@ class moodle_webservice_external extends external_api { /** * Returns description of method parameters * @deprecated since Moodle 2.2 please use core_webservice_external::get_site_info_parameters instead - * @return type + * @return external_function_parameters */ public static function get_siteinfo_parameters() { return core_webservice_external::get_site_info_parameters(); @@ -176,7 +176,7 @@ public function get_siteinfo($serviceshortnames = array()) { /** * Returns description of method result value * @deprecated since Moodle 2.2 please use core_webservice_external::get_site_info_returns instead - * @return type + * @return external_single_structure */ public static function get_siteinfo_returns() { return core_webservice_external::get_site_info_returns();