Ken преди 5 дни
родител
ревизия
b312c38853
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. 1 2
      app/Services/PcIssueService.php

+ 1 - 2
app/Services/PcIssueService.php

@@ -374,9 +374,8 @@ class PcIssueService extends BaseService
     }
 
     //根据指定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);
         $bestMatch = null;
         for ($i = 0; $i < 100000; $i++) {