update generate booking marking to 6 digits

This commit is contained in:
edmondlang
2023-09-28 20:37:37 +08:00
parent 4c972e63cf
commit b0caccc0c1
@@ -24,7 +24,7 @@ class GeneratesBookingMarking
*/
public function execute(): int {
$marking = mt_rand(20000, 99999);
$marking = mt_rand(100000, 999999);
return !$this->bookingMarkingExists->execute($marking) ? $marking : self::execute();
}