Skip to content

Commit

Permalink
Changed use of self to static to allow for easier extension (#976)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bittarman authored and theofidry committed Feb 28, 2019
1 parent e7f58e0 commit a14e893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Loader/NativeLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ protected function getBlacklistedFunctions(): array

protected function createFakerGenerator(): FakerGenerator
{
$generator = FakerGeneratorFactory::create(self::LOCALE);
$generator = FakerGeneratorFactory::create(static::LOCALE);
$generator->addProvider(new AliceProvider());
$generator->seed($this->getSeed());

Expand Down

0 comments on commit a14e893

Please sign in to comment.