Fix small inconsistencies in Whoops\Run

This commit is contained in:
filp
2013-04-11 08:18:48 +01:00
parent fb7f82bf86
commit c229f6c711
+3 -3
View File
@@ -133,16 +133,16 @@ class Run
return $this->allowQuit;
}
$this->allowQuit = (bool) $exit;
return $this->allowQuit = (bool) $exit;
}
/**
* Handles an exception, ultimately generating a Whoops error
* page.
*
* @param \Exception $exception
* @param Exception $exception
*/
public function handleException($exception)
public function handleException(Exception $exception)
{
// Walk the registered handlers in the reverse order
// they were registered, and pass off the exception