I think your better off posting these to Laravel directly:
https://github.com/laravel/docs/issues
This section is more for site feedback regarding laracasts.com
This is an issue regarding the documentation
this page https://laravel.com/docs/5.6/database-testing#generating-factories
has this code example (and a few similar ones)
" $factory->state(App\User::class, 'address', function ($faker) { return [ 'address' => $faker->address, ]; }); "
in all of these examples the line of code code "'address' =>$faker->address" has a field name from your DB/Model and a property (of $faker) by the same name.
This imples that to generate fake data you need to use the following code "$faker->some_property_name
What you actually have to do is provide a faker formatter as documented here https://github.com/fzaninotto/Faker#formatters
The laravel documentation does not make this clear, it does not even tell you that faker formatters exist.
Please or to participate in this conversation.