From 1352b5ee796c9a9e106cb9746b9201e8038b6210 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 22 Oct 2018 02:17:12 +0400 Subject: Code style fix Signed-off-by: Valentin Popov --- classes/event_observer.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'classes/event_observer.php') diff --git a/classes/event_observer.php b/classes/event_observer.php index 9ab4a35..983552a 100644 --- a/classes/event_observer.php +++ b/classes/event_observer.php @@ -24,7 +24,7 @@ namespace local_webhooks; -defined( "MOODLE_INTERNAL" ) || die(); +defined('MOODLE_INTERNAL') || die(); /** * Defines event handlers. @@ -40,9 +40,9 @@ class event_observer { * * @param object $event */ - public static function observe_all( $event ) { + public static function observe_all($event) { $task = new \local_webhooks\task\process_events_task(); - $task->set_custom_data( $event->get_data() ); - \core\task\manager::queue_adhoc_task( $task ); + $task->set_custom_data($event->get_data()); + \core\task\manager::queue_adhoc_task($task); } } \ No newline at end of file -- cgit v1.2.3