Skip to content
Permalink
Browse files

Adjust variables to be consistent.

  • Loading branch information...
dereuromark committed Nov 25, 2017
1 parent f13020d commit bfe343a0b059b7a91768845fb381e8608795ff21
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/Error/ErrorHandler.php
@@ -122,7 +122,7 @@ protected function _displayError($error, $debug)
/**
* Displays an exception response body.
*
* @param \Exception $exception The exception to display
* @param \Exception $exception The exception to display.
* @return void
* @throws \Exception When the chosen exception renderer is invalid.
*/
@@ -138,10 +138,10 @@ protected function _displayException($exception)
$response = $renderer->render();
$this->_clearOutput();
$this->_sendResponse($response);
} catch (Throwable $t) {
$this->_logInternalError($t);
} catch (Exception $e) {
$this->_logInternalError($e);
} catch (Throwable $exception) {
$this->_logInternalError($exception);
} catch (Exception $exception) {
$this->_logInternalError($exception);
}
}

0 comments on commit bfe343a

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