From e2ae4d4749dcc525cf854815639c52e682826471 Mon Sep 17 00:00:00 2001
From: NinaHerrmann <nina.herrmann@uni-muenster.de>
Date: Tue, 4 Jun 2024 16:38:30 +0200
Subject: [PATCH] forgot one usage of | in return to be php 7.4 compatible

---
 filter.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/filter.php b/filter.php
index 5bf4995..cfe71d9 100644
--- a/filter.php
+++ b/filter.php
@@ -196,7 +196,7 @@ class filter_opencast extends moodle_text_filter {
      * @return string|null
      */
     protected function render_player(int $ocinstanceid, string $episodeid, int $playerid,
-            $width = null, $height = null): string|null {
+            $width = null, $height = null) {
         global $OUTPUT, $PAGE;
 
         $data = paella_transform::get_paella_data_json($ocinstanceid, $episodeid);
-- 
GitLab