Skip to content

Commit

Permalink
Update:update name method and comment (#51744)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-fathi authored Jun 9, 2024
1 parent b3db6b6 commit c632b1f
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 c632b1f

Please sign in to comment.