@@ -53,7 +53,6 @@ discard block |
||
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | /** |
| 56 | - |
|
| 57 | 56 | */ |
| 58 | 57 | public function classPasses(): ClassPasses |
| 59 | 58 | { |
@@ -66,16 +65,14 @@ discard block |
||
| 66 | 65 | { |
| 67 | 66 | return new Events($this->transporter); |
| 68 | 67 | } |
| 69 | - /** |
|
| 70 | - |
|
| 71 | - */ |
|
| 68 | + /** |
|
| 69 | + */ |
|
| 72 | 70 | public function locations(): Locations |
| 73 | 71 | { |
| 74 | 72 | return new Locations($this->transporter); |
| 75 | 73 | } |
| 76 | 74 | /** |
| 77 | - |
|
| 78 | - */ |
|
| 75 | + */ |
|
| 79 | 76 | public function tickets(): Tickets |
| 80 | 77 | { |
| 81 | 78 | return new Tickets($this->transporter); |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | |
| 54 | 54 | // location |
| 55 | 55 | $locationId = $attributes['relationships']['location']['data']['id']; |
| 56 | - $location = array_reduce($included, function ($data, $includedData) use ($locationId) { |
|
| 56 | + $location = array_reduce($included, function($data, $includedData) use ($locationId) { |
|
| 57 | 57 | if ($includedData['id'] === $locationId) { |
| 58 | 58 | return LocationsRetrieveResponse::from($includedData); |
| 59 | 59 | } |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | // $this->logger = new Logger('inShore Bookwhen API'); |
| 112 | 112 | // $this->logger->pushHandler(new StreamHandler($this->logFile, $this->logLevel)); |
| 113 | 113 | try { |
| 114 | - if(!is_null($client)) { |
|
| 114 | + if (!is_null($client)) { |
|
| 115 | 115 | $this->client = $client; |
| 116 | 116 | } else { |
| 117 | 117 | $this->client = !is_null($apiKey) |
@@ -338,7 +338,7 @@ discard block |
||
| 338 | 338 | 'tickets.class_passes' => $includeTicketsClassPasses, |
| 339 | 339 | ]; |
| 340 | 340 | |
| 341 | - $this->includes = array_keys(array_filter($includesMapping, function ($value) { |
|
| 341 | + $this->includes = array_keys(array_filter($includesMapping, function($value) { |
|
| 342 | 342 | return $value; |
| 343 | 343 | })); |
| 344 | 344 | |
@@ -545,7 +545,7 @@ discard block |
||
| 545 | 545 | 'tickets.class_passes' => $includeTicketsClassPasses, |
| 546 | 546 | ]; |
| 547 | 547 | |
| 548 | - $this->includes = array_keys(array_filter($includesMapping, function ($value) { |
|
| 548 | + $this->includes = array_keys(array_filter($includesMapping, function($value) { |
|
| 549 | 549 | return $value; |
| 550 | 550 | })); |
| 551 | 551 | |
@@ -730,7 +730,7 @@ discard block |
||
| 730 | 730 | 'events.tickets' => $includeEventsTickets, |
| 731 | 731 | ]; |
| 732 | 732 | |
| 733 | - $this->includes = array_keys(array_filter($includesMapping, function ($value) { |
|
| 733 | + $this->includes = array_keys(array_filter($includesMapping, function($value) { |
|
| 734 | 734 | return $value; |
| 735 | 735 | })); |
| 736 | 736 | |