@@ -23,5 +23,5 @@ |
||
| 23 | 23 | * @param array $args |
| 24 | 24 | * @return array|Exception |
| 25 | 25 | */ |
| 26 | - public function post(string $endpoint, array $args = []): array|Exception; |
|
| 26 | + public function post(string $endpoint, array $args = []): array | Exception; |
|
| 27 | 27 | } |
| 28 | 28 | \ No newline at end of file |
@@ -59,7 +59,7 @@ |
||
| 59 | 59 | public function getPerformancesForProductionSeason(int $psId): array |
| 60 | 60 | { |
| 61 | 61 | return $this->search([ |
| 62 | - 'ProductionSeasonIds' => (string)$psId, |
|
| 62 | + 'ProductionSeasonIds' => (string) $psId, |
|
| 63 | 63 | ]); |
| 64 | 64 | } |
| 65 | 65 | |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | public function description(): string |
| 32 | 32 | { |
| 33 | 33 | |
| 34 | - return (string)$this->_extraArgs['PerformanceDescription']; |
|
| 34 | + return (string) $this->_extraArgs['PerformanceDescription']; |
|
| 35 | 35 | |
| 36 | 36 | } |
| 37 | 37 | |
@@ -15,13 +15,13 @@ |
||
| 15 | 15 | |
| 16 | 16 | public function zoneId() : int { |
| 17 | 17 | |
| 18 | - return intval( $this->_extraArgs['ZoneId'] ); |
|
| 18 | + return intval($this->_extraArgs['ZoneId']); |
|
| 19 | 19 | |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | public function enabled(): bool |
| 23 | 23 | { |
| 24 | - return (bool)$this->_extraArgs['Enabled']; |
|
| 24 | + return (bool) $this->_extraArgs['Enabled']; |
|
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | public function performanceId(): int |
@@ -228,7 +228,7 @@ discard block |
||
| 228 | 228 | * @return Exception|mixed[] |
| 229 | 229 | * @throws GuzzleException |
| 230 | 230 | */ |
| 231 | - public function post(string $endpoint, array $args = []): array|Exception |
|
| 231 | + public function post(string $endpoint, array $args = []): array | Exception |
|
| 232 | 232 | { |
| 233 | 233 | |
| 234 | 234 | $args = array_merge($args, array( |
@@ -256,7 +256,7 @@ discard block |
||
| 256 | 256 | 'log' => 'tessitura', |
| 257 | 257 | )); |
| 258 | 258 | |
| 259 | - $message = 'Tessitura API: ' . $message; |
|
| 259 | + $message = 'Tessitura API: '.$message; |
|
| 260 | 260 | |
| 261 | 261 | if ($this->getLogger()) { |
| 262 | 262 | $this->getLogger()->info($message, $args); |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | |
| 27 | 27 | public function getDescription(): string |
| 28 | 28 | { |
| 29 | - return (string)$this->extraArgs()['Description']; |
|
| 29 | + return (string) $this->extraArgs()['Description']; |
|
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | public function getEndDateTime(string $timezone = 'America/New_York') : ?DateTime |