Modernize type casting

This commit is contained in:
Zach Borboa
2021-07-25 23:53:32 -04:00
parent 1ac43b2972
commit 73dfde67e2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -880,7 +880,7 @@ class Curl
*/
public function setPort($port)
{
$this->setOpt(CURLOPT_PORT, intval($port));
$this->setOpt(CURLOPT_PORT, (int) $port);
}
/**
+1 -1
View File
@@ -504,7 +504,7 @@ class MultiCurl
*/
public function setPort($port)
{
$this->setOpt(CURLOPT_PORT, intval($port));
$this->setOpt(CURLOPT_PORT, (int) $port);
}
/**