Skip to content

Commit

Permalink
nl_NL locale should use direct method instead of magic method (#347)
Browse files Browse the repository at this point in the history
Co-authored-by: Pim Jansen <pjansen@senet.nl>
  • Loading branch information
pimjansen and pimjansen committed Jul 22, 2021
1 parent 054058d commit f3cab70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Faker/Provider/nl_NL/Company.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function company()
break;

case 2:
$companyName = static::randomElement(static::$store) . ' ' . $this->generator->lastName;
$companyName = static::randomElement(static::$store) . ' ' . $this->generator->lastName();

break;
}
Expand Down

0 comments on commit f3cab70

Please sign in to comment.