From 1527873755c6f4ed88bae5856aefcbe6bc921b9c Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 22 Feb 2016 11:13:16 +0100 Subject: [PATCH] CustomVariableNull: faster diff --- library/Director/CustomVariable/CustomVariableNull.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Director/CustomVariable/CustomVariableNull.php b/library/Director/CustomVariable/CustomVariableNull.php index d1b28881..ad97ecbe 100644 --- a/library/Director/CustomVariable/CustomVariableNull.php +++ b/library/Director/CustomVariable/CustomVariableNull.php @@ -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()