Skip to content

Commit

Permalink
Merge pull request #7 from swumao/patch-1
Browse files Browse the repository at this point in the history
Update Yaf_Request_Simple __construct params
  • Loading branch information
elad-yosifon committed Aug 26, 2017
2 parents 68ae654 + a4b0a35 commit 8973390
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Yaf/Request/Simple.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ public function isXmlHttpRequest(){ }
*
* @throws \Yaf\Exception\TypeError
*/
public function __construct($method, $controller, $action, $params = null){ }
public function __construct($method = null, $module = null, $controller = null, $action = null, $params = null){ }

/**
* @link http://www.php.net/manual/en/yaf-request-simple.clone.php
*/
private function __clone(){ }
}
}

0 comments on commit 8973390

Please sign in to comment.