Skip to content

Commit

Permalink
Update:update name method and comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-fathi committed Jun 7, 2024
1 parent b3db6b6 commit 5a2b223
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Illuminate/Database/DatabaseServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function register()
Model::clearBootedModels();

$this->registerConnectionServices();
$this->registerEloquentFactory();
$this->registerFakerGenerator();
$this->registerQueueableEntityResolver();
}

Expand Down Expand Up @@ -80,11 +80,11 @@ protected function registerConnectionServices()
}

/**
* Register the Eloquent factory instance in the container.
* Register the Faker Generator instance in the container.
*
* @return void
*/
protected function registerEloquentFactory()
protected function registerFakerGenerator()
{
$this->app->singleton(FakerGenerator::class, function ($app, $parameters) {
$locale = $parameters['locale'] ?? $app['config']->get('app.faker_locale', 'en_US');
Expand Down

0 comments on commit 5a2b223

Please sign in to comment.