Fix typo in factory for Recurring model
MODIFY
database/factories/ModelFactory.php
database/factories/ModelFactory.php
@@ -49,7 +49,7 @@ $factory->define(Spending::class, function (Generator $faker) {
$factory->define(Recurring::class, function (Generator $faker) {
return [
'type' => 'monthly',
- 'day' => numberBetween(1, 28),
+ 'day' => $faker->numberBetween(1, 28),
'starts_on' => $faker->dateTimeBetween('-50 days', 'now')->format('Y-m-d'),
'description' => implode(' ', array_map('ucfirst', $faker->words(3))),
'amount' => $faker->randomNumber(3)

Fix typo in factory for Recurring model