CustomVariableNull: faster diff
This commit is contained in:
parent
b59df53ebc
commit
1527873755
|
@ -9,7 +9,7 @@ class CustomVariableNull extends CustomVariable
|
||||||
{
|
{
|
||||||
public function equals(CustomVariable $var)
|
public function equals(CustomVariable $var)
|
||||||
{
|
{
|
||||||
return $var->getValue() === $this->getValue();
|
return $var instanceof CustomVariableNull;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getValue()
|
public function getValue()
|
||||||
|
|
Loading…
Reference in New Issue