I have fixtures with this code:
$post = new Post(
$date,
$faker->slug,
$faker->sentence(4)
);
if ($faker->boolean(60)) {
$post->publish($date);
}
And in 3.8.2 only I get errors for every usage of method boolean():
ERROR: UndefinedMagicMethod - BlogFixture.php:42:25 - Magic method Faker\Generator::boolean does not exist
if ($faker->boolean(60)) {
but other magic methods like sentence() above work correctly.
All methods are specified in Faker's PHPDoc.
I have fixtures with this code:
And in 3.8.2 only I get errors for every usage of method
boolean():but other magic methods like
sentence()above work correctly.All methods are specified in Faker's PHPDoc.