Skip to content

Commit

Permalink
Fix coding standards errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 22, 2013
1 parent d59a10a commit 04b549f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Console/ConsoleErrorHandler.php
Expand Up @@ -14,8 +14,8 @@
*/
namespace Cake\Console;

use Cake\Error\FatalErrorException;
use Cake\Error\BaseErrorHandler;
use Cake\Error\FatalErrorException;

/**
* Error Handler for Cake console. Does simple printing of the
Expand Down Expand Up @@ -87,7 +87,7 @@ protected function _displayError($error, $debug) {
$error['file'],
$error['line']
);
$message = __d('cake_console', "<error>%s Error:</error> %s\n",
$message = __d('cake_console', "<error>%s Error:</error> %s\n",
$error['error'],
$message
);
Expand Down
1 change: 1 addition & 0 deletions lib/Cake/Error/ErrorHandler.php
Expand Up @@ -127,6 +127,7 @@ protected function _displayError($error, $debug) {
*
* @param \Exception $exception The exception to display
* @return void
* @throws \Exception When the chosen exception renderer is invalid.
*/
protected function _displayException($exception) {
$renderer = App::classname($this->_options['exceptionRenderer'], 'Error');
Expand Down

0 comments on commit 04b549f

Please sign in to comment.