fix: build

This commit is contained in:
loks0n 2025-01-27 11:12:11 +00:00
parent c30689d664
commit d8848e10af

View file

@ -13,11 +13,13 @@ use Utopia\Validator\Host;
*/
class Redirect extends Host
{
protected array $schemes = [];
/**
* @param array $hostnames White list of allowed hostnames
* @param array $schemes White list of allowed schemes
*/
public function __construct(array $hostnames, array $schemes)
public function __construct(array $hostnames = [], array $schemes = [])
{
$this->schemes = $schemes;
parent::__construct($hostnames);