Removal of excess conversion

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2018-10-29 02:44:17 +04:00
parent 0a44411f98
commit a2bc4b735c
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3

View File

@ -56,7 +56,7 @@ class local_webhooks_external extends external_api {
*
* @param $serviceid
*
* @return array
* @return object
*
* @since Moodle 2.2
* @since Moodle 2.9 Options available
@ -72,7 +72,7 @@ class local_webhooks_external extends external_api {
$context = context_system::instance();
self::validate_context($context);
return (array) local_webhooks_api::get_service($parameters['serviceid']);
return local_webhooks_api::get_service($parameters['serviceid']);
}
/**