Update prepare() method on Action subclasses.

Fixes handle()-related strict warnings such as "Strict Standards:
Declaration of AdminPanelAction::prepare() should be compatible with
Action::prepare(array $args = Array)

Ref. #190
This commit is contained in:
Chimo
2016-06-01 02:21:50 +00:00
parent ba2975aac8
commit 9de79f0a36
91 changed files with 91 additions and 91 deletions

View File

@@ -42,7 +42,7 @@ class TimelistAction extends Action {
*
* @return boolean true
*/
function prepare($args) {
function prepare(array $args = array()) {
parent::prepare($args);
$this->start = $this->arg('start');
$this->duration = $this->boolean('duration', false);