ErrorException : implode(): Passing glue string after array is deprecated. Swap the parameters

This has already been fixed in the most recent version of Faker. In your error it says

> 95| return implode($words, ' ') . '.';

but if we look at line 95 of the source we see:

> 95| return implode(' ', $words) . '.';

So, all you need to do is pull the latest version of Faker, probably by doing

composer update fzaninotto/faker

Leave a Comment