X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapisearchjson.php;h=424773f12bf6bb41e7aea20b4ca780f447e764d8;hb=b15f5f0cafc08c9b63090c5b4f7494fca0634238;hp=1ced4715607360925ca5d587e480c35bfd31c934;hpb=2c0790be54ad8c9e32e6a899ab322b77fd415b12;p=quix0rs-gnu-social.git
diff --git a/actions/apisearchjson.php b/actions/apisearchjson.php
index 1ced471560..424773f12b 100644
--- a/actions/apisearchjson.php
+++ b/actions/apisearchjson.php
@@ -20,7 +20,7 @@
* along with this program. If not, see .
*
* @category Search
- * @package GNUSocial
+ * @package GNUsocial
* @author Zach Copley
* @copyright 2008-2010 StatusNet, Inc.
* @copyright 2013 Free Software Foundation, Inc.
@@ -57,7 +57,7 @@ class ApiSearchJSONAction extends ApiPrivateAuthAction
*
* @return boolean true if nothing goes wrong
*/
- function prepare($args)
+ function prepare(array $args=array())
{
parent::prepare($args);
@@ -95,7 +95,7 @@ class ApiSearchJSONAction extends ApiPrivateAuthAction
*
* @return void
*/
- function handle($args)
+ function handle(array $args=array())
{
parent::handle($args);
$this->showResults();
@@ -129,7 +129,7 @@ class ApiSearchJSONAction extends ApiPrivateAuthAction
*
* @return boolean true
*/
- function isReadOnly($args)
+ function isReadOnly(array $args=array())
{
return true;
}