@@ -58,7 +58,6 @@ |
||
| 58 | 58 | * Load balancer details |
| 59 | 59 | * Fetch a single configured load balancer |
| 60 | 60 | * |
| 61 | - * @param string $zone_identifier |
|
| 62 | 61 | * @param string $identifier |
| 63 | 62 | */ |
| 64 | 63 | public function details($identifier) |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | */ |
| 25 | 25 | public function load_balancers($zone_identifier) |
| 26 | 26 | { |
| 27 | - return $this->get('/zones/' . $zone_identifier . '/load_balancers'); |
|
| 27 | + return $this->get('/zones/'.$zone_identifier.'/load_balancers'); |
|
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | /** |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | 'proxied' => $proxied |
| 52 | 52 | ]; |
| 53 | 53 | |
| 54 | - return $this->post('/zones/' . $zone_identifier . '/load_balancers', $data); |
|
| 54 | + return $this->post('/zones/'.$zone_identifier.'/load_balancers', $data); |
|
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | /** |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | */ |
| 64 | 64 | public function details($identifier) |
| 65 | 65 | { |
| 66 | - return $this->get('/zones/' . $zone_identifier . '/load_balancers/' . $identifier); |
|
| 66 | + return $this->get('/zones/'.$zone_identifier.'/load_balancers/'.$identifier); |
|
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | /** |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | 'proxied' => $proxied |
| 92 | 92 | ]; |
| 93 | 93 | |
| 94 | - return $this->patch('/zones/' . $zone_identifier . '/load_balancers/' . $identifier, $data); |
|
| 94 | + return $this->patch('/zones/'.$zone_identifier.'/load_balancers/'.$identifier, $data); |
|
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | /** |
@@ -103,6 +103,6 @@ discard block |
||
| 103 | 103 | */ |
| 104 | 104 | public function delete_load_balancer($zone_identifier, $identifier) |
| 105 | 105 | { |
| 106 | - return $this->delete('/zones/' . $zone_identifier . '/load_balancers/' . $identifier); |
|
| 106 | + return $this->delete('/zones/'.$zone_identifier.'/load_balancers/'.$identifier); |
|
| 107 | 107 | } |
| 108 | 108 | } |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | */ |
| 53 | 53 | public function details($identifier) |
| 54 | 54 | { |
| 55 | - return $this->get('/user/load_balancers/maps/' . $identifier); |
|
| 55 | + return $this->get('/user/load_balancers/maps/'.$identifier); |
|
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | /** |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | 'description' => $description, |
| 72 | 72 | ]; |
| 73 | 73 | |
| 74 | - return $this->patch('/user/load_balancers/maps/' . $identifier, $data); |
|
| 74 | + return $this->patch('/user/load_balancers/maps/'.$identifier, $data); |
|
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | /** |
@@ -82,6 +82,6 @@ discard block |
||
| 82 | 82 | */ |
| 83 | 83 | public function delete_map($identifier) |
| 84 | 84 | { |
| 85 | - return $this->delete('/user/load_balancers/maps/' . $identifier); |
|
| 85 | + return $this->delete('/user/load_balancers/maps/'.$identifier); |
|
| 86 | 86 | } |
| 87 | 87 | } |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | */ |
| 52 | 52 | public function details($identifier) |
| 53 | 53 | { |
| 54 | - return $this->get('/user/load_balancers/notifiers/' . $identifier); |
|
| 54 | + return $this->get('/user/load_balancers/notifiers/'.$identifier); |
|
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | /** |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | 'type' => $type, |
| 70 | 70 | ]; |
| 71 | 71 | |
| 72 | - return $this->patch('/user/load_balancers/notifiers/' . $identifier, $data); |
|
| 72 | + return $this->patch('/user/load_balancers/notifiers/'.$identifier, $data); |
|
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | /** |
@@ -80,6 +80,6 @@ discard block |
||
| 80 | 80 | */ |
| 81 | 81 | public function delete_notifier($identifier) |
| 82 | 82 | { |
| 83 | - return $this->delete('/user/load_balancers/notifiers/' . $identifier); |
|
| 83 | + return $this->delete('/user/load_balancers/notifiers/'.$identifier); |
|
| 84 | 84 | } |
| 85 | 85 | } |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | */ |
| 57 | 57 | public function details($identifier) |
| 58 | 58 | { |
| 59 | - return $this->get('/user/load_balancers/origins/' . $identifier); |
|
| 59 | + return $this->get('/user/load_balancers/origins/'.$identifier); |
|
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | /** |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | 'enabled' => $enabled, |
| 79 | 79 | 'notifier' => $notifier, |
| 80 | 80 | ]; |
| 81 | - return $this->patch('/user/load_balancers/origins/' . $identifier, $data); |
|
| 81 | + return $this->patch('/user/load_balancers/origins/'.$identifier, $data); |
|
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | /** |
@@ -89,6 +89,6 @@ discard block |
||
| 89 | 89 | */ |
| 90 | 90 | public function delete_origin($identifier) |
| 91 | 91 | { |
| 92 | - return $this->delete('/user/load_balancers/origins/' . $identifier); |
|
| 92 | + return $this->delete('/user/load_balancers/origins/'.$identifier); |
|
| 93 | 93 | } |
| 94 | 94 | } |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | */ |
| 65 | 65 | public function details($identifier) |
| 66 | 66 | { |
| 67 | - return $this->get('/user/load_balancers/pools/' . $identifier); |
|
| 67 | + return $this->get('/user/load_balancers/pools/'.$identifier); |
|
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | /** |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | 'notifier' => $notifier, |
| 96 | 96 | ]; |
| 97 | 97 | |
| 98 | - return $this->patch('/user/load_balancers/pools/' . $identifier, $data); |
|
| 98 | + return $this->patch('/user/load_balancers/pools/'.$identifier, $data); |
|
| 99 | 99 | } |
| 100 | 100 | |
| 101 | 101 | /** |
@@ -106,6 +106,6 @@ discard block |
||
| 106 | 106 | */ |
| 107 | 107 | public function delete_pool($identifier) |
| 108 | 108 | { |
| 109 | - return $this->delete('/user/load_balancers/pools/' . $identifier); |
|
| 109 | + return $this->delete('/user/load_balancers/pools/'.$identifier); |
|
| 110 | 110 | } |
| 111 | 111 | } |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | */ |
| 69 | 69 | public function details($identifier) |
| 70 | 70 | { |
| 71 | - return $this->get('/user/load_balancers/monitors/' . $identifier); |
|
| 71 | + return $this->get('/user/load_balancers/monitors/'.$identifier); |
|
| 72 | 72 | } |
| 73 | 73 | |
| 74 | 74 | /** |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | 'description' => $description, |
| 104 | 104 | ]; |
| 105 | 105 | |
| 106 | - return $this->patch('/user/load_balancers/monitors/' . $identifier, $data); |
|
| 106 | + return $this->patch('/user/load_balancers/monitors/'.$identifier, $data); |
|
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | /** |
@@ -114,6 +114,6 @@ discard block |
||
| 114 | 114 | */ |
| 115 | 115 | public function delete_monitor($identifier) |
| 116 | 116 | { |
| 117 | - return $this->delete('/user/load_balancers/monitors/' . $identifier); |
|
| 117 | + return $this->delete('/user/load_balancers/monitors/'.$identifier); |
|
| 118 | 118 | } |
| 119 | 119 | } |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | */ |
| 54 | 54 | public function details($identifier) |
| 55 | 55 | { |
| 56 | - return $this->get('/user/load_balancers/global_policies/' . $identifier); |
|
| 56 | + return $this->get('/user/load_balancers/global_policies/'.$identifier); |
|
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | /** |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | 'description' => $description, |
| 74 | 74 | ]; |
| 75 | 75 | |
| 76 | - return $this->patch('/user/load_balancers/global_policies/' . $identifier, $data); |
|
| 76 | + return $this->patch('/user/load_balancers/global_policies/'.$identifier, $data); |
|
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | /** |
@@ -84,6 +84,6 @@ discard block |
||
| 84 | 84 | */ |
| 85 | 85 | public function delete_global_policy($identifier) |
| 86 | 86 | { |
| 87 | - return $this->delete('/user/load_balancers/global_policies/' . $identifier); |
|
| 87 | + return $this->delete('/user/load_balancers/global_policies/'.$identifier); |
|
| 88 | 88 | } |
| 89 | 89 | } |