From 5a2b223da5662cdb584cdbc2cafd2de64d2a04b5 Mon Sep 17 00:00:00 2001 From: Mehdi Date: Fri, 7 Jun 2024 22:36:53 +0330 Subject: [PATCH] Update:update name method and comment --- src/Illuminate/Database/DatabaseServiceProvider.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Illuminate/Database/DatabaseServiceProvider.php b/src/Illuminate/Database/DatabaseServiceProvider.php index 9a2f47d1b7c4..e322cad4c71b 100755 --- a/src/Illuminate/Database/DatabaseServiceProvider.php +++ b/src/Illuminate/Database/DatabaseServiceProvider.php @@ -41,7 +41,7 @@ public function register() Model::clearBootedModels(); $this->registerConnectionServices(); - $this->registerEloquentFactory(); + $this->registerFakerGenerator(); $this->registerQueueableEntityResolver(); } @@ -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');