Skip to content

Commit e488a6e

Browse files
committed
replaced or option with string as always a string is returned
1 parent a436a25 commit e488a6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testable_filter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ class testable_filter extends \filter_opencast {
4545
* @param int $playerid Unique id to assign to player element.
4646
* @param int|null $width Optionally width for player.
4747
* @param int|null $height Optionally height for player.
48-
* @return string|null
48+
* @return string
4949
*/
5050
protected function render_player(int $ocinstanceid, string $episodeid, int $playerid, $width = null,
51-
$height = null): string|null {
51+
$height = null): string {
5252
return '<oc-video episode="'. $episodeid . '"/>';
5353
}
5454

0 commit comments

Comments
 (0)