mirror of
https://github.com/filp/whoops.git
synced 2026-09-05 06:57:29 +00:00
Revert "Change deprecated pushHandler to prependHandler"
This reverts commit 410526d38c.
This commit is contained in:
@@ -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) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user