Skip to content
Browse files

MDL-29106 white space clean up

  • Loading branch information...
1 parent d040ea8 commit e6acc5518bbdc74b9dda7977ccd42e9edfe706e6 @samhemelryk samhemelryk committed
Showing with 11 additions and 12 deletions.
  1. +2 −3 enrol/externallib.php
  2. +1 −1 lib/db/services.php
  3. +4 −4 user/externallib.php
  4. +4 −4 webservice/externallib.php
View
5 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
View
2 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',
View
8 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);
View
8 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();

0 comments on commit e6acc55

Please sign in to comment.
Something went wrong with that request. Please try again.