Ybazli / faker

Persian faker package for laravel
MIT License
71 stars 11 forks source link

Non-static method Ybazli\Faker\Faker::firstName() should not be called statically #16

Open saber13812002 opened 3 years ago

saber13812002 commented 3 years ago

Non-static method Ybazli\Faker\Faker::firstName() should not be called statically

menkaff commented 3 years ago

Hi @saber13812002 did you test with a new instance of the Faker class like this $faker = new Ybazli\Faker\Faker; $faker->firstName(); And remember to add this in your composer.json "ybazli/faker": "dev-master"