Revert "Change deprecated pushHandler to prependHandler"

This reverts commit 410526d38c.
This commit is contained in:
Denis Sokolov
2019-12-25 12:00:00 +02:00
parent 08e23fa81f
commit 8781b453b2
+2 -2
View File
@@ -50,10 +50,10 @@ $handler->addDataTableCallback('Details', function(\Whoops\Exception\Inspector $
return $data;
});
$run->prependHandler($handler);
$run->pushHandler($handler);
// Example: tag all frames inside a function with their function name
$run->prependHandler(function ($exception, $inspector, $run) {
$run->pushHandler(function ($exception, $inspector, $run) {
$inspector->getFrames()->map(function ($frame) {