mirror of
https://github.com/filp/whoops.git
synced 2026-09-16 04:36:20 +00:00
Rename PrettyPage -> PrettyPageHandler for consistency
This commit is contained in:
+2
-2
@@ -15,7 +15,7 @@
|
||||
|
||||
namespace Damnit\Example;
|
||||
use Damnit\Run;
|
||||
use Damnit\Handler\PrettyPage;
|
||||
use Damnit\Handler\PrettyPageHandler;
|
||||
use Exception as BaseException;
|
||||
|
||||
require __DIR__ . '/vendor/autoload.php';
|
||||
@@ -23,7 +23,7 @@ require __DIR__ . '/vendor/autoload.php';
|
||||
class Exception extends BaseException {}
|
||||
|
||||
$run = new Run;
|
||||
$run->pushHandler(new PrettyPage);
|
||||
$run->pushHandler(new PrettyPageHandler);
|
||||
|
||||
// Example: tag all frames with a comment
|
||||
$run->pushHandler(function($exception, $inspector, $run) {
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Damnit\Handler;
|
||||
use Damnit\Handler\Handler;
|
||||
use InvalidArgumentException;
|
||||
|
||||
class PrettyPage extends Handler
|
||||
class PrettyPageHandler extends Handler
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
Reference in New Issue
Block a user