Skip to content

Commit d9299f4

Browse files
authored
Fixed #32
1 parent ad76e00 commit d9299f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function boot()
3333
return;
3434
}
3535

36-
DB::listen(function (QueryExecuted $query) {
36+
$this->app['events']->listen(function (QueryExecuted $query) {
3737
if ($query->time < $this->app['config']->get('logging.query.slower_than', 0)) {
3838
return;
3939
}

0 commit comments

Comments
 (0)