Skip to content

Commit

Permalink
Allow Error to be caught in PHP7
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Apr 20, 2016
1 parent 6e1bed0 commit f2c7f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function handleException($exception)
* @return void
* @see http://php.net/manual/en/function.set-exception-handler.php
*/
public function handle(Exception $exception)
public function handle($exception)
{
$handlers = (array)$this->config('handlers');
foreach ($handlers as $handler => $config) {
Expand Down

0 comments on commit f2c7f1c

Please sign in to comment.