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>
pull/52014/head
Côme Chilliet 6 months ago
parent ae0bb4eaa2
commit 85934d4d79
No known key found for this signature in database
GPG Key ID: A3E2F658B28C760A
  1. 4
      lib/private/Preview/Movie.php

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

Loading…
Cancel
Save