diff options
-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']); } /** |