CustomVariableNull: faster diff

This commit is contained in:
Thomas Gelf 2016-02-22 11:13:16 +01:00
parent b59df53ebc
commit 1527873755
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ class CustomVariableNull extends CustomVariable
{
public function equals(CustomVariable $var)
{
return $var->getValue() === $this->getValue();
return $var instanceof CustomVariableNull;
}
public function getValue()