Skip to content

Commit

Permalink
Update cloudflare.php
Browse files Browse the repository at this point in the history
Fix for Issue mrikirill#18  Remove string hinting from setrecord method
  • Loading branch information
sdhawade authored Aug 31, 2021
1 parent cf7f199 commit 0cd5a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudflare.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ function isZonesContainFullname($arZones, $fullname)
/**
* Set A Records for each host
*/
function setRecord($arHostData, string $ip, $type)
function setRecord($arHostData, $ip, $type)
{
if (empty($arHostData['fullname'])) {
return false;
Expand Down

0 comments on commit 0cd5a0d

Please sign in to comment.