From 56d3de6f347d1d01db78e1c9f0c39af1b82aa94c Mon Sep 17 00:00:00 2001 From: NinaHerrmann Date: Thu, 23 Nov 2023 10:11:18 +0100 Subject: [PATCH] let cbf fix the errors --- filter.php | 2 +- version.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/filter.php b/filter.php index ce2ae33..8c907ee 100644 --- a/filter.php +++ b/filter.php @@ -43,7 +43,7 @@ class filter_opencast extends moodle_text_filter { * @return array|mixed|string|string[]|null * @throws dml_exception */ - public function filter($text, array $options = array()) { + public function filter($text, array $options = []) { global $CFG, $PAGE; $i = 0; diff --git a/version.php b/version.php index eeb7b4a..369a7b5 100644 --- a/version.php +++ b/version.php @@ -29,7 +29,7 @@ $plugin->version = 2023030100; $plugin->requires = 2020061500; // Requires Moodle 3.9+. $plugin->maturity = MATURITY_ALPHA; -$plugin->dependencies = array( +$plugin->dependencies = [ 'tool_opencast' => 2023030100, - 'mod_opencast' => 2023052300 -); + 'mod_opencast' => 2023052300, +];