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 -2
View File
@@ -96,7 +96,7 @@ class handler {
*/
private static function send($data, $callback) {
$curl = new curl();
$curl->setHeader(array('Content-Type: application/' . $callback->type));
$curl->setHeader(['Content-Type: application/' . $callback->type]);
$curl->post($callback->url, json_encode($data));
$response = $curl->getResponse();
@@ -104,4 +104,4 @@ class handler {
return $response;
}
}
}