Style fixes

This commit is contained in:
Nabeel Shahzad
2022-03-28 13:55:42 -04:00
parent e2226b7400
commit ca1cd01f3d
10 changed files with 25 additions and 25 deletions

View File

@@ -28,7 +28,7 @@ class FareFactory extends Factory
'code' => $this->faker->unique()->text(50),
'name' => $this->faker->text(50),
'price' => $this->faker->randomFloat(2, 100, 1000),
'cost' => fn (array $fare) => round($fare['price'] / 2),
'cost' => fn (array $fare) => round($fare['price'] / 2),
'capacity' => $this->faker->randomFloat(0, 20, 500),
];
}