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
You can swap (in affect lines with implode
command) glue and array.
Example:
return implode($words,' ') . '.';
to
return implode(' ',$words) . '.';
also, The newest version of the fzaninotto/faker
package solves this issue.
This is happend for backward version of fzaninotto/faker. Update your faker using below command
composer update fzaninotto/faker