Skip to content
Browse files

MINOR: Remove default paramenter from handleRequest() so it complies …

…with the interface correctly. Fixes E_STRICT warning.
  • Loading branch information...
1 parent daab8f4 commit d368f3605b5c75b461c88bb7084e97ce1c4cb8c9 @ajoneil ajoneil committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 control/Controller.php
2 control/Controller.php
@@ -122,7 +122,7 @@ function Link() {
* @return SS_HTTPResponse The response that this controller produces,
* including HTTP headers such as redirection info
- function handleRequest(SS_HTTPRequest $request, DataModel $model = null) {
+ function handleRequest(SS_HTTPRequest $request, DataModel $model) {
if(!$request) user_error("Controller::handleRequest() not passed a request!", E_USER_ERROR);

0 comments on commit d368f36

Please sign in to comment.
Something went wrong with that request. Please try again.