@@ -63,7 +63,7 @@ |
||
63 | 63 | $response = $this->getClient()->getHttpClient()->request('get', $uri, $options); |
64 | 64 | $contents = json_decode($response->getBody()->getContents(), true); |
65 | 65 | |
66 | - return array_map(function ($data) { |
|
66 | + return array_map(function($data) { |
|
67 | 67 | $webhook = new \Pixela\Api\Webhooks($this->getClient()); |
68 | 68 | return $webhook->setGraphID($data['graphID']) |
69 | 69 | ->setType($data['type']) |
@@ -85,7 +85,7 @@ |
||
85 | 85 | $response = $this->getClient()->getHttpClient()->request('get', $uri, $options); |
86 | 86 | $contents = json_decode($response->getBody()->getContents(), true); |
87 | 87 | |
88 | - return array_map(function ($data) { |
|
88 | + return array_map(function($data) { |
|
89 | 89 | $graph = new \Pixela\Api\Graphs($this->getClient()); |
90 | 90 | |
91 | 91 | $graph->setId($data['id']) |