@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | * @return Component[] |
93 | 93 | * @throws GuzzleException |
94 | 94 | */ |
95 | - public function getComponents(array $params = []) |
|
95 | + public function getComponents(array $params = [ ]) |
|
96 | 96 | { |
97 | 97 | $envelope = $this->handler->get('components', ComponentsEnvelope::class, $params); |
98 | 98 | |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | * @return Incident[] |
158 | 158 | * @throws GuzzleException |
159 | 159 | */ |
160 | - public function getIncidents(array $params = []) |
|
160 | + public function getIncidents(array $params = [ ]) |
|
161 | 161 | { |
162 | 162 | $envelope = $this->handler->get('incidents', IncidentsEnvelope::class, $params); |
163 | 163 | |
@@ -222,7 +222,7 @@ discard block |
||
222 | 222 | * @return Group[] |
223 | 223 | * @throws GuzzleException |
224 | 224 | */ |
225 | - public function getGroups(array $params = []) |
|
225 | + public function getGroups(array $params = [ ]) |
|
226 | 226 | { |
227 | 227 | $envelope = $this->handler->get('components/groups', GroupsEnvelope::class, $params); |
228 | 228 | |
@@ -248,7 +248,7 @@ discard block |
||
248 | 248 | * @return Metric[] |
249 | 249 | * @throws GuzzleException |
250 | 250 | */ |
251 | - public function getMetrics(array $params = []) |
|
251 | + public function getMetrics(array $params = [ ]) |
|
252 | 252 | { |
253 | 253 | $envelope = $this->handler->get('metrics', MetricsEnvelope::class, $params); |
254 | 254 |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | * @return ResponseInterface |
74 | 74 | * @throws GuzzleException |
75 | 75 | */ |
76 | - public function request($method, $url, array $params = []) |
|
76 | + public function request($method, $url, array $params = [ ]) |
|
77 | 77 | { |
78 | 78 | $params = array_merge($params, [ |
79 | 79 | 'headers' => $this->headers |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | * @return Envelope |
90 | 90 | * @throws GuzzleException |
91 | 91 | */ |
92 | - public function get($path, $envelopeType, array $params = []) |
|
92 | + public function get($path, $envelopeType, array $params = [ ]) |
|
93 | 93 | { |
94 | 94 | $response = $this->request("GET", $path, [ |
95 | 95 | 'query' => $params |