Ken há 2 dias atrás
pai
commit
4ecbd08bbf
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      app/Http/Controllers/api/Home.php

+ 1 - 0
app/Http/Controllers/api/Home.php

@@ -119,6 +119,7 @@ class Home extends Controller
     {
 //        $target = 27;
         $target =  request()->input('a',15);
+        $target= intval($target);
         echo $target;
         echo "\n";
         $matchingNumbers = $this->getMatchingNumbers($target);