Updated to PSR-2
This commit is contained in:
@@ -128,4 +128,4 @@ class TLS implements API
|
|||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -92,7 +92,8 @@ class ZoneSettings implements API
|
|||||||
public function updateMinifySetting($zoneID, $html, $css, $js)
|
public function updateMinifySetting($zoneID, $html, $css, $js)
|
||||||
{
|
{
|
||||||
$return = $this->adapter->patch(
|
$return = $this->adapter->patch(
|
||||||
'zones/' . $zoneID . '/settings/minify', [
|
'zones/' . $zoneID . '/settings/minify',
|
||||||
|
[
|
||||||
'value' => [
|
'value' => [
|
||||||
'html' => $html,
|
'html' => $html,
|
||||||
'css' => $css,
|
'css' => $css,
|
||||||
@@ -112,7 +113,8 @@ class ZoneSettings implements API
|
|||||||
public function updateRocketLoaderSetting($zoneID, $value)
|
public function updateRocketLoaderSetting($zoneID, $value)
|
||||||
{
|
{
|
||||||
$return = $this->adapter->patch(
|
$return = $this->adapter->patch(
|
||||||
'zones/' . $zoneID . '/settings/rocket_loader', [
|
'zones/' . $zoneID . '/settings/rocket_loader',
|
||||||
|
[
|
||||||
'value' => $value,
|
'value' => $value,
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
@@ -128,7 +130,8 @@ class ZoneSettings implements API
|
|||||||
public function updateAlwaysOnlineSetting($zoneID, $value)
|
public function updateAlwaysOnlineSetting($zoneID, $value)
|
||||||
{
|
{
|
||||||
$return = $this->adapter->patch(
|
$return = $this->adapter->patch(
|
||||||
'zones/' . $zoneID . '/settings/always_online', [
|
'zones/' . $zoneID . '/settings/always_online',
|
||||||
|
[
|
||||||
'value' => $value,
|
'value' => $value,
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
@@ -144,7 +147,8 @@ class ZoneSettings implements API
|
|||||||
public function updateEmailObfuscationSetting($zoneID, $value)
|
public function updateEmailObfuscationSetting($zoneID, $value)
|
||||||
{
|
{
|
||||||
$return = $this->adapter->patch(
|
$return = $this->adapter->patch(
|
||||||
'zones/' . $zoneID . '/settings/email_obfuscation', [
|
'zones/' . $zoneID . '/settings/email_obfuscation',
|
||||||
|
[
|
||||||
'value' => $value,
|
'value' => $value,
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
@@ -160,7 +164,8 @@ class ZoneSettings implements API
|
|||||||
public function updateHotlinkProtectionSetting($zoneID, $value)
|
public function updateHotlinkProtectionSetting($zoneID, $value)
|
||||||
{
|
{
|
||||||
$return = $this->adapter->patch(
|
$return = $this->adapter->patch(
|
||||||
'zones/' . $zoneID . '/settings/hotlink_protection', [
|
'zones/' . $zoneID . '/settings/hotlink_protection',
|
||||||
|
[
|
||||||
'value' => $value,
|
'value' => $value,
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
@@ -172,4 +177,4 @@ class ZoneSettings implements API
|
|||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user