We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 650e728 commit 7bade4fCopy full SHA for 7bade4f
src/Illuminate/Support/Lottery.php
@@ -201,6 +201,18 @@ public static function alwaysLose($callback = null)
201
static::determineResultNormally();
202
}
203
204
+ /**
205
+ * Set the sequence that will be used to determine lottery results.
206
+ *
207
+ * @param array $sequence
208
+ * @param callable|null $whenMissing
209
+ * @return void
210
+ */
211
+ public static function fix($sequence, $whenMissing = null)
212
+ {
213
+ return static::forceResultWithSequence($sequence, $whenMissing);
214
+ }
215
+
216
/**
217
* Set the sequence that will be used to determine lottery results.
218
*
0 commit comments