From: Chuck Hagenbuch Date: Fri, 11 Jun 2010 14:30:02 +0000 (-0400) Subject: Fix Horde_Injector_Binder_AnnotatedSetters#equals() X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=9387cf6c8dcb58214393df93d74f3ba94d8f514e;p=horde.git Fix Horde_Injector_Binder_AnnotatedSetters#equals() --- diff --git a/framework/Injector/lib/Horde/Injector/Binder/AnnotatedSetters.php b/framework/Injector/lib/Horde/Injector/Binder/AnnotatedSetters.php index 0b964b6c5..eee9f3e85 100644 --- a/framework/Injector/lib/Horde/Injector/Binder/AnnotatedSetters.php +++ b/framework/Injector/lib/Horde/Injector/Binder/AnnotatedSetters.php @@ -38,7 +38,13 @@ class Horde_Injector_Binder_AnnotatedSetters implements Horde_Injector_Binder */ public function equals(Horde_Injector_Binder $otherBinder) { - return $otherBinder instanceof Horde_Injector_Binder_AnnotatedSetters; + return ($otherBinder instanceof Horde_Injector_Binder_AnnotatedSetters) && + $this->getBinder()->equals($otherBinder->getBinder()); + } + + public function getBinder() + { + return $this->_binder; } /**