Ken hace 2 días
padre
commit
4ecbd08bbf
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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);