If you face this issue solution is quite simple navigate to "lorem.php" and change the code as given below
// Old code return join($words, ' ') . '.';
Change it to
return join( ' ', $words) . '.';
Run migration command again your faker library will start to work. Hope this helps