Skip to content

Commit

Permalink
Merge pull request filp#680 from GrahamCampbell/patch-1
Browse files Browse the repository at this point in the history
Fixed invalid codeblock syntax
  • Loading branch information
denis-sokolov committed Nov 16, 2020
2 parents 40173bb + aec99af commit 23c4a64
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ You may also want to override some system calls Whoops does. To do that, extend

You may also collect the HTML generated to process it yourself:

```php
$whoops = new \Whoops\Run;
$whoops->allowQuit(false);
$whoops->writeToOutput(false);
$whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler);
$html = $whoops->handleException($e);
```
```php
$whoops = new \Whoops\Run;
$whoops->allowQuit(false);
$whoops->writeToOutput(false);
$whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler);
$html = $whoops->handleException($e);
```

### Available Handlers

Expand Down

0 comments on commit 23c4a64

Please sign in to comment.