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');