Skip to content

Commit

Permalink
Inspector: cleanup hasPreviousException syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-sokolov committed Nov 15, 2014
1 parent 8829e3c commit 85d4b9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Whoops/Exception/Inspector.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function getExceptionMessage()
*/
public function hasPreviousException()
{
return !!$this->previousExceptionInspector || !!$this->exception->getPrevious();
return $this->previousExceptionInspector || $this->exception->getPrevious();
}

/**
Expand Down

0 comments on commit 85d4b9a

Please sign in to comment.