Skip to content

Commit eda9f9d

Browse files
Apply suggestions from code review
Co-authored-by: Ilyes512 <[email protected]>
1 parent 6c89465 commit eda9f9d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/DumpServerServiceProvider.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,8 @@ public function register()
4949
'source' => new SourceContextProvider('utf-8', base_path()),
5050
]);
5151

52-
$app = $this->app;
53-
VarDumper::setHandler(function ($var) use ($app, $connection) {
54-
$app->makeWith(Dumper::class, ['connection' => $connection])->dump($var);
52+
VarDumper::setHandler(function ($var) use ($connection) {
53+
$this->app->makeWith(Dumper::class, ['connection' => $connection])->dump($var);
5554
});
5655
}
5756
}

0 commit comments

Comments
 (0)