From 212275229e9602010ed5f9f6199eac69c724d089 Mon Sep 17 00:00:00 2001 From: Freek Van der Herten Date: Sat, 2 Jul 2022 11:43:20 +0200 Subject: [PATCH] wip --- src/SqlCommenterServiceProvider.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SqlCommenterServiceProvider.php b/src/SqlCommenterServiceProvider.php index ab6199d..2f1eca0 100644 --- a/src/SqlCommenterServiceProvider.php +++ b/src/SqlCommenterServiceProvider.php @@ -21,7 +21,7 @@ public function packageBooted(): void $this->app->singleton(SqlCommenter::class, function () { $commenterClass = config('sql-commenter.commenter_class'); - if (! is_a($commenterClass, SqlCommenter::class, true)) { + if (!is_a($commenterClass, SqlCommenter::class, true)) { throw InvalidSqlCommenter::make($commenterClass); } @@ -30,8 +30,8 @@ public function packageBooted(): void $this->app->get('db.connection') ->beforeExecuting(function ( - string &$query, - array &$bindings, + string &$query, + array &$bindings, Connection $connection, ) { $sqlCommenter = app(SqlCommenter::class);