Skip to content
Permalink
Browse files

Fix error message.

Use better grammar.
  • Loading branch information...
markstory committed Apr 21, 2016
1 parent 366484c commit d65fd83656bca17ade879eed3861499c98f18bb1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Http/ActionDispatcher.php
@@ -118,7 +118,7 @@ protected function _invoke(Controller $controller)
$response = $controller->invokeAction();
if ($response !== null && !($response instanceof Response)) {
throw new LogicException('Controller actions can only Cake\Network\Response instances');
throw new LogicException('Controller actions can only return Cake\Network\Response or null.');
}
if (!$response && $controller->autoRender) {

0 comments on commit d65fd83

Please sign in to comment.
You can’t perform that action at this time.