diff --git a/tests/testable_filter.php b/tests/testable_filter.php index 2ddaed10157cf1ef44a68be42622913d79b1b9c3..ed017df7101853339e2e640e8fe324c3d290e404 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 . '"/>'; }