style: apply Moodle coding standards
Moodle Plugin CI / test (push) Successful in 1m27s

This commit is contained in:
2026-08-12 17:13:30 +00:00
parent 91111b66d3
commit 0d4bf6a208
17 changed files with 157 additions and 145 deletions
+2 -4
View File
@@ -24,8 +24,6 @@
namespace local_webhooks\event;
defined('MOODLE_INTERNAL') || die();
use core\event\base;
use lang_string;
use moodle_url;
@@ -59,7 +57,7 @@ class response_answer extends base {
* @throws \moodle_exception
*/
public function get_url() {
return new moodle_url('/local/webhooks/editservice.php', array('serviceid' => $this->objectid));
return new moodle_url('/local/webhooks/editservice.php', ['serviceid' => $this->objectid]);
}
/**
@@ -70,4 +68,4 @@ class response_answer extends base {
$this->data['edulevel'] = self::LEVEL_OTHER;
$this->data['objecttable'] = 'local_webhooks_service';
}
}
}