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 --- settings.php | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'settings.php') diff --git a/settings.php b/settings.php index f67daa5..e69898d 100644 --- a/settings.php +++ b/settings.php @@ -22,12 +22,16 @@ * @package local_webhooks */ -defined( "MOODLE_INTERNAL" ) || die(); +defined('MOODLE_INTERNAL') || die(); -if ( $hassiteconfig ) { - $ADMIN->add( "server", new admin_externalpage( "local_webhooks", - new lang_string( "pluginname", "local_webhooks" ), - new moodle_url( "/local/webhooks/index.php" ) +/* @var \admin_root $ADMIN */ + +if ($hassiteconfig) { + $ADMIN->add( + 'server', new admin_externalpage( + 'local_webhooks', + new lang_string('pluginname', 'local_webhooks'), + new moodle_url('/local/webhooks/index.php') ) ); } \ No newline at end of file -- cgit v1.2.3