Skip to content

Commit

Permalink
Fix return types.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 17, 2016
1 parent 17b988f commit 9070130
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Error/Middleware/ErrorHandlerMiddleware.php
Expand Up @@ -139,12 +139,12 @@ protected function getRenderer($exception)
*
* @param \Psr\Http\Message\ServerRequestInterface $request The current request.
* @param \Exception $exception The exception to log a message for.
* @return void
* @return void|null
*/
protected function logException($request, $exception)
{
if (!$this->config('log')) {
return false;
return;
}

$skipLog = $this->config('skipLog');
Expand Down

0 comments on commit 9070130

Please sign in to comment.