@@ -43,20 +43,20 @@ discard block |
||
| 43 | 43 | |
| 44 | 44 | $string = "?"; |
| 45 | 45 | foreach ($newOptions as $k => $v) { |
| 46 | - $string .= $k . '=' . $v . '&'; |
|
| 46 | + $string .= $k.'='.$v.'&'; |
|
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | //Remove the last '&' |
| 50 | 50 | $string = substr($string, 0, -1); |
| 51 | 51 | |
| 52 | - $this->makeRequest($this->URL . $string); |
|
| 52 | + $this->makeRequest($this->URL.$string); |
|
| 53 | 53 | |
| 54 | 54 | return $this->getResponse(); |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | public function getDetails($zoneID) |
| 58 | 58 | { |
| 59 | - $this->makeRequest($this->URL . '/' . $zoneID); |
|
| 59 | + $this->makeRequest($this->URL.'/'.$zoneID); |
|
| 60 | 60 | |
| 61 | 61 | return $this->getResponse(); |
| 62 | 62 | } |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | public function clearCache($zoneId) |
| 65 | 65 | { |
| 66 | 66 | $this->makeRequest( |
| 67 | - $this->URL . '/' . $zoneId . '/purge_cache', |
|
| 67 | + $this->URL.'/'.$zoneId.'/purge_cache', |
|
| 68 | 68 | 'DELETE', |
| 69 | 69 | ['purge_everything' => true] |
| 70 | 70 | ); |