From e488a6ecc73003b81c8b66af1cc5280a072ceb05 Mon Sep 17 00:00:00 2001
From: NinaHerrmann <nina.herrmann@uni-muenster.de>
Date: Tue, 4 Jun 2024 16:06:39 +0200
Subject: [PATCH] replaced or option with string as always a string is returned

---
 tests/testable_filter.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/testable_filter.php b/tests/testable_filter.php
index 2ddaed1..ed017df 100644
--- a/tests/testable_filter.php
+++ b/tests/testable_filter.php
@@ -45,10 +45,10 @@ class testable_filter extends \filter_opencast {
      * @param int $playerid Unique id to assign to player element.
      * @param int|null $width Optionally width for player.
      * @param int|null $height Optionally height for player.
-     * @return string|null
+     * @return string
      */
     protected function render_player(int $ocinstanceid, string $episodeid, int $playerid, $width = null,
-            $height = null): string|null {
+            $height = null): string {
         return '<oc-video episode="'. $episodeid . '"/>';
     }
 
-- 
GitLab