feat: improves dumper

This commit is contained in:
Nuno Maduro
2023-03-13 21:36:48 +00:00
parent 966c382d1a
commit 837552b11d
2 changed files with 3 additions and 8 deletions

View File

@ -40,13 +40,7 @@ final class Kernel
private readonly Application $application,
private readonly OutputInterface $output,
) {
register_shutdown_function(function (): void {
if (error_get_last() !== null) {
return;
}
$this->shutdown();
});
register_shutdown_function(fn () => $this->shutdown());
}
/**