jzonta / FakerRestaurant

Food and Beverage names generate using fakerphp/faker
MIT License
90 stars 38 forks source link

Namespaces broken for newly added DE languages #20

Closed aetonsi closed 4 years ago

aetonsi commented 4 years ago

Hi, the namespaces for the de_DE and de_AT classes are broken, they both still are "en_US". Composer reports:

Warning: Ambiguous class resolution, "FakerRestaurant\Provider\en_US\Restaurant" was found in both "/my/project/vendor/jzonta/faker-restaurant/src\Provider\de_AT\Restaurant.php" and "/my/project/vendor/jzonta/faker-restaurant/src\Provider\de_DE\Restaurant.php", the first will be used. Warning: Ambiguous class resolution, "FakerRestaurant\Provider\en_US\Restaurant" was found in both "/my/project/vendor/jzonta/faker-restaurant/src\Provider\de_AT\Restaurant.php" and "/my/project/vendor/jzonta/faker-restaurant/src\Provider\en_US\Restaurant.php", the first will be used.

I'll do a PR right now to address this.