@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | $response = $this->client->get('agents', $params); |
21 | 21 | |
22 | - return collect($response->agents)->transform(function ($agent) { |
|
22 | + return collect($response->agents)->transform(function($agent) { |
|
23 | 23 | return new Model($agent, $this->client); |
24 | 24 | }); |
25 | 25 | } |
@@ -17,7 +17,7 @@ |
||
17 | 17 | { |
18 | 18 | $response = $this->client->get('attachments', ['message' => $messageID]); |
19 | 19 | |
20 | - return collect($response->attachments)->transform(function ($attachment) { |
|
20 | + return collect($response->attachments)->transform(function($attachment) { |
|
21 | 21 | return new Model($attachment, $this->client); |
22 | 22 | }); |
23 | 23 | } |
@@ -16,7 +16,7 @@ |
||
16 | 16 | { |
17 | 17 | $response = $this->client->get('mailboxes'); |
18 | 18 | |
19 | - return collect($response->mailboxes)->transform(function ($ticket) { |
|
19 | + return collect($response->mailboxes)->transform(function($ticket) { |
|
20 | 20 | return new Model($ticket, $this->client); |
21 | 21 | }); |
22 | 22 | } |
@@ -18,7 +18,7 @@ |
||
18 | 18 | { |
19 | 19 | $response = $this->client->get("tickets/$ticketNumber/messages", $params); |
20 | 20 | |
21 | - return collect($response->messages)->transform(function ($ticket) { |
|
21 | + return collect($response->messages)->transform(function($ticket) { |
|
22 | 22 | return new Model($ticket, $this->client); |
23 | 23 | }); |
24 | 24 | } |
@@ -16,7 +16,7 @@ |
||
16 | 16 | { |
17 | 17 | $response = $this->client->get('groups'); |
18 | 18 | |
19 | - return collect($response->groups)->transform(function ($group) { |
|
19 | + return collect($response->groups)->transform(function($group) { |
|
20 | 20 | return new Model($group, $this->client); |
21 | 21 | }); |
22 | 22 | } |
@@ -35,7 +35,7 @@ |
||
35 | 35 | { |
36 | 36 | $response = $this->client->get('tickets', $params); |
37 | 37 | |
38 | - return collect($response->tickets)->transform(function ($ticket) { |
|
38 | + return collect($response->tickets)->transform(function($ticket) { |
|
39 | 39 | return new Model($ticket, $this->client); |
40 | 40 | }); |
41 | 41 | } |
@@ -17,7 +17,7 @@ |
||
17 | 17 | { |
18 | 18 | $response = $this->client->get('customers', $params); |
19 | 19 | |
20 | - return collect($response->customers)->transform(function ($customer) { |
|
20 | + return collect($response->customers)->transform(function($customer) { |
|
21 | 21 | return new Model($customer, $this->client); |
22 | 22 | }); |
23 | 23 | } |
@@ -17,7 +17,7 @@ |
||
17 | 17 | { |
18 | 18 | $response = $this->client->get('folders', $params); |
19 | 19 | |
20 | - return collect($response->folders)->map(function ($folder) { |
|
20 | + return collect($response->folders)->map(function($folder) { |
|
21 | 21 | return new Model($folder, $this->client); |
22 | 22 | }); |
23 | 23 | } |