diff options
author | Valentin Popov <info@valentineus.link> | 2018-10-29 01:44:17 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2018-10-29 01:44:17 +0300 |
commit | a2bc4b735c54278304234f6d7e105c36ea847f0c (patch) | |
tree | e08f3750e50788afb1a7c9bd5ae054c9ea63162e | |
parent | 0a44411f980ba8f36d6f4e71f42bf7c723847648 (diff) | |
download | local_webhooks-a2bc4b735c54278304234f6d7e105c36ea847f0c.tar.xz local_webhooks-a2bc4b735c54278304234f6d7e105c36ea847f0c.zip |
Removal of excess conversion
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | externallib.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/externallib.php b/externallib.php index 279ffbd..1ccfd7c 100644 --- a/externallib.php +++ b/externallib.php @@ -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']); } /** |