From 5b5e6b4c1eb3fcd39e0d79c4a5613eae1d440a10 Mon Sep 17 00:00:00 2001 From: Stefan Koopmanschap Date: Tue, 25 Oct 2011 15:29:10 +0200 Subject: [PATCH] A fix for the 'double constructor issue', because the classname is now Search and not Zend_Service_Twitter_Search --- library/Zend/Service/Twitter/Search.php | 2 +- working/BC-Breaks.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/library/Zend/Service/Twitter/Search.php b/library/Zend/Service/Twitter/Search.php index b85622157ff..c07f4043cf1 100644 --- a/library/Zend/Service/Twitter/Search.php +++ b/library/Zend/Service/Twitter/Search.php @@ -118,7 +118,7 @@ public function trends() * * @throws Zend_Http_Client_Exception */ - public function search($query, array $params = array()) + public function execute($query, array $params = array()) { $_query = array(); diff --git a/working/BC-Breaks.txt b/working/BC-Breaks.txt index d5d80620a52..ec450cb9c0a 100644 --- a/working/BC-Breaks.txt +++ b/working/BC-Breaks.txt @@ -234,3 +234,5 @@ Zend_Queue: * 'adapterNamespace' \Zend\Queue\Queue option and adapter name \Zend\Queue\Queue constructor parameter are case sensitive now * 'Array' adapter becomes 'ArrayAdapter' +Zend_Service_Twitter: + * In the Search class, the method for searching has been renamed for search() to execute(). Method signature is still the same