Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fix For  "Class 'Faker\Generator\Provider\Youtube' not found" when trying to run seeds by following ReadMe.
Laravel version: 6.2
Faker version: 1.9.1

Steps to reproduce (fixed) error

1. Install laravel 6.2
2. install package.
3. Setup factory following current ReadMe in master
4. Run seeder
  • Loading branch information
IggsGrey authored Nov 6, 2020
1 parent 3c588af commit 57dd9fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ composer require aalaap/faker-youtube

```php
$faker = \Faker\Factory::create();
$faker->addProvider(new Faker\Provider\Youtube($faker));
$faker->addProvider(new \Faker\Provider\Youtube($faker));
```

```
Expand Down

0 comments on commit 57dd9fd

Please sign in to comment.