Skip to content

Commit

Permalink
create a new instance of the CaseBuilder in the SC bind
Browse files Browse the repository at this point in the history
  • Loading branch information
aglipanci committed Apr 7, 2022
1 parent 2fb5eba commit 6b62955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LaravelCaseServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function register()

$this->app->bind(
'casebuilder',
fn ($app) => $app->make(CaseBuilder::class)
fn($app) => new CaseBuilder($app->make(Builder::class), new Grammar())
);
}
}

0 comments on commit 6b62955

Please sign in to comment.