From 97140dccf76f878991853d827449ca608eb91864 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 18 Nov 2017 06:31:25 +0400 Subject: Aesthetics in the code --- classes/handler.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'classes/handler.php') diff --git a/classes/handler.php b/classes/handler.php index a9fddf7..ac933a9 100644 --- a/classes/handler.php +++ b/classes/handler.php @@ -120,12 +120,13 @@ class handler { $event = \local_webhooks\event\response_get::create( array( - "context" => \context_system::instance(0), + "context" => \context_system::instance(0), "objectid" => $callback->id, - "other" => array( - "status" => $status + "other" => array( + "status" => $status + ) ) - )); + ); $event->trigger(); } -- cgit v1.2.3