Skip to content

Commit

Permalink
A fix for the 'double constructor issue', because the classname is no…
Browse files Browse the repository at this point in the history
…w Search and not Zend_Service_Twitter_Search
  • Loading branch information
Stefan Koopmanschap committed Oct 25, 2011
1 parent bf23582 commit 5b5e6b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/Service/Twitter/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 2 additions & 0 deletions working/BC-Breaks.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5b5e6b4

Please sign in to comment.