mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-15 21:38:24 +01:00
make SensioTemlateTagValue open to nullable valubes
This commit is contained in:
parent
76cf03b092
commit
a38b60bf27
@ -23,20 +23,20 @@ final class SensioTemplateTagValueNode extends AbstractTagValueNode
|
||||
private $template;
|
||||
|
||||
/**
|
||||
* @var mixed[]
|
||||
* @var mixed[]|null
|
||||
*/
|
||||
private $owner = [];
|
||||
private $owner;
|
||||
|
||||
/**
|
||||
* @var mixed[]
|
||||
* @var mixed[]|null
|
||||
*/
|
||||
private $vars = [];
|
||||
private $vars;
|
||||
|
||||
/**
|
||||
* @param mixed[] $owner
|
||||
* @param mixed[] $vars
|
||||
* @param mixed[]|null $owner
|
||||
* @param mixed[]|null $vars
|
||||
*/
|
||||
public function __construct(?string $template, array $owner, array $vars)
|
||||
public function __construct(?string $template, ?array $owner = null, ?array $vars = null)
|
||||
{
|
||||
$this->template = $template;
|
||||
$this->owner = $owner;
|
||||
|
Loading…
x
Reference in New Issue
Block a user