@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | |
| 29 | 29 | return $this->getPerformancesBetween($start, $end); |
| 30 | 30 | } catch (Throwable $e) { |
| 31 | - throw new Exception("Unable to get upcoming performances: " . $e->getMessage()); |
|
| 31 | + throw new Exception("Unable to get upcoming performances: ".$e->getMessage()); |
|
| 32 | 32 | } |
| 33 | 33 | } |
| 34 | 34 | |
@@ -59,7 +59,7 @@ discard block |
||
| 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 | |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | /** |
| 35 | 35 | * @throws InvalidArgumentException |
| 36 | 36 | */ |
| 37 | - public function firstPerformanceDate(string $timezone = 'America/New_York'): DateTime|bool |
|
| 37 | + public function firstPerformanceDate(string $timezone = 'America/New_York'): DateTime | bool |
|
| 38 | 38 | { |
| 39 | 39 | try { |
| 40 | 40 | $timezone = new DateTimeZone($timezone); |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | |
| 53 | 53 | return $result; |
| 54 | 54 | } catch (Throwable $e) { |
| 55 | - throw new Exception("Unable to parse FirstPerformanceDate: " . $e->getMessage()); |
|
| 55 | + throw new Exception("Unable to parse FirstPerformanceDate: ".$e->getMessage()); |
|
| 56 | 56 | } |
| 57 | 57 | } |
| 58 | 58 | |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | /** |
| 63 | 63 | * @throws InvalidArgumentException |
| 64 | 64 | */ |
| 65 | - public function lastPerformanceDate(string $timezone = 'America/New_York'): DateTime|bool |
|
| 65 | + public function lastPerformanceDate(string $timezone = 'America/New_York'): DateTime | bool |
|
| 66 | 66 | { |
| 67 | 67 | try { |
| 68 | 68 | $timezone = new DateTimeZone($timezone); |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | |
| 81 | 81 | return $result; |
| 82 | 82 | } catch (Throwable $e) { |
| 83 | - throw new Exception("Unable to parse LastPerformanceDate: " . $e->getMessage()); |
|
| 83 | + throw new Exception("Unable to parse LastPerformanceDate: ".$e->getMessage()); |
|
| 84 | 84 | } |
| 85 | 85 | } |
| 86 | 86 | |