From 9387cf6c8dcb58214393df93d74f3ba94d8f514e Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Fri, 11 Jun 2010 10:30:02 -0400 Subject: [PATCH] Fix Horde_Injector_Binder_AnnotatedSetters#equals() --- framework/Injector/lib/Horde/Injector/Binder/AnnotatedSetters.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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; } /** -- 2.11.0