mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-09-02 03:13:57 +00:00
update generate booking marking to 6 digits
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user