diff --git a/bridges/GiphyBridge.php b/bridges/GiphyBridge.php index 16c8f8c..0ad0f91 100644 --- a/bridges/GiphyBridge.php +++ b/bridges/GiphyBridge.php @@ -10,16 +10,14 @@ class GiphyBridge extends BridgeAbstract{ $this->uri = "http://giphy.com/"; $this->description = "Bridge for giphy.com"; - $this->parameters["By tag"] = array( - 's'=>array('name'=>'search tag') + $this->parameters[] = array( + 's'=>array('name'=>'search tag'), + 'n'=>array( + 'name'=>'max number of returned items', + 'type'=>'number' + ) ); - $this->parameters["Without tag"] = array( - 'n'=>array( - 'name'=>'max number of returned items', - 'type'=>'number' - ) - ); } public function collectData(array $param){