diff --git a/src/Illuminate/Support/Lottery.php b/src/Illuminate/Support/Lottery.php index 1cc87d489765..5fe1f3e82e89 100644 --- a/src/Illuminate/Support/Lottery.php +++ b/src/Illuminate/Support/Lottery.php @@ -201,6 +201,18 @@ public static function alwaysLose($callback = null) static::determineResultNormally(); } + /** + * Set the sequence that will be used to determine lottery results. + * + * @param array $sequence + * @param callable|null $whenMissing + * @return void + */ + public static function fix($sequence, $whenMissing = null) + { + return static::forceResultWithSequence($sequence, $whenMissing); + } + /** * Set the sequence that will be used to determine lottery results. *