Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Jul 2, 2022
1 parent 092fe2b commit 2122752
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/SqlCommenterServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand All @@ -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);
Expand Down

0 comments on commit 2122752

Please sign in to comment.