* Refactor checkAddress function.

This commit is contained in:
daitingting
2023-12-26 08:27:28 +00:00
parent 4bc3c7678f
commit c4fc08e183
+1 -1
View File
@@ -110,7 +110,7 @@ class zahostModel extends model
* @access public
* @return bool
*/
public function checkAddress($address)
public function checkAddress(string $address): bool
{
$address = str_replace(array('https://', 'http://'), '', $address);