@@ -76,12 +76,12 @@ discard block |
||
| 76 | 76 | $servers = $this->getConfigItem('servers'); |
| 77 | 77 | $zones = $this->getConfigItem('zones'); |
| 78 | 78 | |
| 79 | - if (! empty($serversQuery)) { |
|
| 79 | + if (!empty($serversQuery)) { |
|
| 80 | 80 | $check = explode(',', $serversQuery); |
| 81 | 81 | |
| 82 | 82 | // Run a check on the IDs provided to make sure they're valid and no naughty things are being passed |
| 83 | 83 | foreach ($check as $id) { |
| 84 | - if (! in_array($id, $servers)) { |
|
| 84 | + if (!in_array($id, $servers)) { |
|
| 85 | 85 | return $this->errorWrongArgs($response, 'Invalid Server Arguments passed'); |
| 86 | 86 | } |
| 87 | 87 | } |
@@ -91,12 +91,12 @@ discard block |
||
| 91 | 91 | $servers = implode(',', $servers); |
| 92 | 92 | } |
| 93 | 93 | |
| 94 | - if (! empty($zonesQuery)) { |
|
| 94 | + if (!empty($zonesQuery)) { |
|
| 95 | 95 | $check = explode(',', $zonesQuery); |
| 96 | 96 | |
| 97 | 97 | // Run a check on the IDs provided to make sure they're valid and no naughty things are being passed |
| 98 | 98 | foreach ($check as $id) { |
| 99 | - if (! in_array($id, $zones)) { |
|
| 99 | + if (!in_array($id, $zones)) { |
|
| 100 | 100 | return $this->errorWrongArgs($response, 'Invalid Zone Arguments passed'); |
| 101 | 101 | } |
| 102 | 102 | } |