Framework Update
This commit is contained in:
+4
-3
@@ -45,7 +45,8 @@ class Lottery
|
||||
* Create a new Lottery instance.
|
||||
*
|
||||
* @param int|float $chances
|
||||
* @param ?int $outOf
|
||||
* @param int|null $outOf
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($chances, $outOf = null)
|
||||
{
|
||||
@@ -62,7 +63,7 @@ class Lottery
|
||||
* Create a new Lottery instance.
|
||||
*
|
||||
* @param int|float $chances
|
||||
* @param ?int $outOf
|
||||
* @param int|null $outOf
|
||||
* @return static
|
||||
*/
|
||||
public static function odds($chances, $outOf = null)
|
||||
@@ -258,7 +259,7 @@ class Lottery
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the factory that should be used to deterine the lottery results.
|
||||
* Set the factory that should be used to determine the lottery results.
|
||||
*
|
||||
* @param callable $factory
|
||||
* @return void
|
||||
|
||||
Reference in New Issue
Block a user