@@ -27,11 +27,11 @@ |
||
27 | 27 | { |
28 | 28 | $response = json_decode($content); |
29 | 29 | |
30 | - $array = []; |
|
30 | + $array = [ ]; |
|
31 | 31 | |
32 | 32 | if (!empty($response->channels)) { |
33 | 33 | foreach ($response->channels as $channel) { |
34 | - $array[] = $this->stdClassToChannel($channel); |
|
34 | + $array[ ] = $this->stdClassToChannel($channel); |
|
35 | 35 | } |
36 | 36 | } |
37 | 37 |
@@ -53,7 +53,7 @@ |
||
53 | 53 | public function prepare(?string $hookUrl = null): Channel |
54 | 54 | { |
55 | 55 | if (is_null($hookUrl)) { |
56 | - $options = []; |
|
56 | + $options = [ ]; |
|
57 | 57 | } else { |
58 | 58 | $options = [ |
59 | 59 | \GuzzleHttp\RequestOptions::JSON => [ |