Skip to content
Snippets Groups Projects
Commit e488a6ec authored by NinaHerrmann's avatar NinaHerrmann
Browse files

replaced or option with string as always a string is returned

parent a436a25f
No related branches found
No related tags found
No related merge requests found
...@@ -45,10 +45,10 @@ class testable_filter extends \filter_opencast { ...@@ -45,10 +45,10 @@ class testable_filter extends \filter_opencast {
* @param int $playerid Unique id to assign to player element. * @param int $playerid Unique id to assign to player element.
* @param int|null $width Optionally width for player. * @param int|null $width Optionally width for player.
* @param int|null $height Optionally height 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, protected function render_player(int $ocinstanceid, string $episodeid, int $playerid, $width = null,
$height = null): string|null { $height = null): string {
return '<oc-video episode="'. $episodeid . '"/>'; return '<oc-video episode="'. $episodeid . '"/>';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment