fix(preview): Fix constructor parameter name and default value

This should fix tests for movie preview provider

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet 2025-04-08 09:24:04 +02:00
parent ae0bb4eaa2
commit 85934d4d79
No known key found for this signature in database
GPG key ID: A3E2F658B28C760A

View file

@ -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);
}