|
@@ -374,9 +374,8 @@ class PcIssueService extends BaseService
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//根据指定0-27的数字 得到20个数字
|
|
//根据指定0-27的数字 得到20个数字
|
|
|
- public static function getMatchingNumbers($target): array|null
|
|
|
|
|
|
|
+ public static function getMatchingNumbers(int $target): array|null
|
|
|
{
|
|
{
|
|
|
- $target = intval($target);
|
|
|
|
|
$numbers = range(1, 80);
|
|
$numbers = range(1, 80);
|
|
|
$bestMatch = null;
|
|
$bestMatch = null;
|
|
|
for ($i = 0; $i < 100000; $i++) {
|
|
for ($i = 0; $i < 100000; $i++) {
|