mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
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:
parent
ae0bb4eaa2
commit
85934d4d79
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue