Skip to content

Commit a21abfe

Browse files
committed
Tiny documentation tweak
1 parent d618004 commit a21abfe

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/ServiceProvider.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,7 @@ private function bootServices($service): void
9696
// and register it with the container
9797
$this->app->instance(Model::class, $model);
9898

99-
// I don't get why you are doing this twice? You never load the model
100-
// via app()->make('lodata.model') or app()->make(Model::class). What
101-
// am I missing here?
99+
// register alias
102100
$this->app->bind('lodata.model', function ($app) {
103101
return $app->make(Model::class);
104102
});

0 commit comments

Comments
 (0)