Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(preview): Fix constructor parameter name and default value
This should fix tests for movie preview provider

Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc committed Apr 8, 2025
commit 85934d4d797d14633ba2476cd66b119b4bdbc58d
4 changes: 2 additions & 2 deletions lib/private/Preview/Movie.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ class Movie extends ProviderV2 {
/** @var string */
private $binary;

public function __construct(array $config) {
parent::__construct($config);
public function __construct(array $options = []) {
parent::__construct($options);
$this->config = Server::get(IConfig::class);
}

Expand Down
Loading