Protected function prepare with array $args defaulting to array()

This commit is contained in:
Mikael Nordfeldth
2013-10-29 10:26:46 +01:00
parent 2dfa0bfcee
commit f8b49e69d0
45 changed files with 45 additions and 45 deletions

View File

@@ -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);

View File

@@ -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);

View File

@@ -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);