change param type

This commit is contained in:
Michael
2019-05-25 23:02:40 -05:00
parent bd10d7f833
commit 7343b7cc46

View File

@@ -93,10 +93,10 @@ class FirewallSettings implements API
* Update the Challenge TTL setting for the zone * Update the Challenge TTL setting for the zone
* *
* @param string $zoneID The ID of the zone * @param string $zoneID The ID of the zone
* @param integer $value The value of the zone setting * @param int $value The value of the zone setting
* @return bool * @return bool
*/ */
public function updateChallengeTTLSetting(string $zoneID, integer $value) public function updateChallengeTTLSetting(string $zoneID, int $value)
{ {
$return = $this->adapter->patch( $return = $this->adapter->patch(
'zones/' . $zoneID . '/settings/challenge_ttl', 'zones/' . $zoneID . '/settings/challenge_ttl',