forked from GNUsocial/gnu-social
Protected function prepare with array $args defaulting to array()
This commit is contained in:
@@ -89,7 +89,7 @@ class AutocompleteAction extends Action
|
||||
$this->lastModified())) . '"';
|
||||
}
|
||||
|
||||
protected function prepare($args)
|
||||
protected function prepare(array $args=array())
|
||||
{
|
||||
// If we die, show short error messages.
|
||||
StatusNet::setApi(true);
|
||||
|
@@ -35,7 +35,7 @@ class OStatusInitAction extends Action
|
||||
var $profile;
|
||||
var $err;
|
||||
|
||||
protected function prepare($args)
|
||||
protected function prepare(array $args=array())
|
||||
{
|
||||
parent::prepare($args);
|
||||
|
||||
|
@@ -47,7 +47,7 @@ class PushHubAction extends Action
|
||||
return parent::arg($arg, $def);
|
||||
}
|
||||
|
||||
protected function prepare($args)
|
||||
protected function prepare(array $args=array())
|
||||
{
|
||||
StatusNet::setApi(true); // reduce exception reports to aid in debugging
|
||||
return parent::prepare($args);
|
||||
|
Reference in New Issue
Block a user