We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3343038 commit 7c2f0a9Copy full SHA for 7c2f0a9
1 file changed
src/CleverAge/Ruler/Rule/ObjectIsEqual.php
@@ -42,7 +42,7 @@ public function doIsSatisfied()
42
$class = is_object($this->object1) ? get_class($this->object1) : false;
43
44
return $class
45
- && (($this->object1 == $this->object2)
+ && (($this->object1 === $this->object2)
46
|| (($this->object2 instanceof $class)
47
&& ($this->object1->{$this->identifierMethod}()
48
== $this->object2->{$this->identifierMethod}())
0 commit comments