Skip to content

Commit 2306de8

Browse files
committed
Fix lumen example on readme
1 parent a06a15d commit 2306de8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ return [
9595
If you use **Lumen**, you need to copy the config file manually and register the Lumen Service Provider in `bootstrap/app.php` file
9696

9797
```php
98-
$this->app->register(\BeyondCode\QueryDetector\LumenQueryDetectorServiceProvider::class);
98+
$app->register(\BeyondCode\QueryDetector\LumenQueryDetectorServiceProvider::class);
9999
```
100100

101101
If you need additional logic to run when the package detects unoptimized queries, you can listen to the `\BeyondCode\QueryDetector\Events\QueryDetected` event and write a listener to run your own handler. (e.g. send warning to Sentry/Bugsnag, send Slack notification, etc.)

0 commit comments

Comments
 (0)