mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-26 11:19:16 +02:00
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)
|
||||
{
|
||||
return $var->getValue() === $this->getValue();
|
||||
return $var instanceof CustomVariableNull;
|
||||
}
|
||||
|
||||
public function getValue()
|
||||
|
Loading…
x
Reference in New Issue
Block a user