Skip to content

Commit

Permalink
Type hint on Throwable instead of Exception (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
GwendolenLynch authored and beryllium committed Apr 4, 2019
1 parent 33e30fc commit a8b8e5c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -191,7 +191,7 @@ protected function runSculpin(
IoInterface $io
) {
$messages = [];
$errPrint = function (\Exception $e) {
$errPrint = function (\Throwable $e) {
return $e->getMessage().PHP_EOL.' at '.str_replace(getcwd().DIRECTORY_SEPARATOR, '', $e->getFile());
};

Expand Down

0 comments on commit a8b8e5c

Please sign in to comment.