We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3dc0f07 + 33a3693 commit 7f98228Copy full SHA for 7f98228
1 file changed
src/Reference.php
@@ -83,9 +83,8 @@ public function getHash() {
83
* @return boolean
84
*/
85
public function equals( $mixed ) {
86
- return is_object( $mixed )
87
- && $mixed instanceof Reference
88
- && $this->getSnaks()->equals( $mixed->getSnaks() );
+ return $mixed instanceof self
+ && $this->snaks->equals( $mixed->snaks );
89
}
90
91
0 commit comments