@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | |
| 28 | 28 | return $this->getPerformancesBetween($start, $end); |
| 29 | 29 | } catch (Exception $e) { |
| 30 | - throw new Exception("Unable to get upcoming performances: " . $e->getMessage()); |
|
| 30 | + throw new Exception("Unable to get upcoming performances: ".$e->getMessage()); |
|
| 31 | 31 | } |
| 32 | 32 | } |
| 33 | 33 | |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | public function getPerformancesForProductionSeason(int $psId): array |
| 59 | 59 | { |
| 60 | 60 | return $this->search([ |
| 61 | - 'ProductionSeasonIds' => (string)$psId, |
|
| 61 | + 'ProductionSeasonIds' => (string) $psId, |
|
| 62 | 62 | ]); |
| 63 | 63 | } |
| 64 | 64 | |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | /** |
| 28 | 28 | * @throws InvalidArgumentException |
| 29 | 29 | */ |
| 30 | - public function first_performance_date(string $timezone = 'America/New_York'): DateTime|bool |
|
| 30 | + public function first_performance_date(string $timezone = 'America/New_York'): DateTime | bool |
|
| 31 | 31 | { |
| 32 | 32 | try { |
| 33 | 33 | $timezone = new DateTimeZone($timezone); |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | try { |
| 40 | 40 | return DateTime::createFromFormat(' Y-m-d\TG:i:sp', $date, $timezone); |
| 41 | 41 | } catch (Exception $e) { |
| 42 | - throw new Exception("Unable to parse FirstPerformanceDate: " . $e->getMessage()); |
|
| 42 | + throw new Exception("Unable to parse FirstPerformanceDate: ".$e->getMessage()); |
|
| 43 | 43 | } |
| 44 | 44 | } |
| 45 | 45 | |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | /** |
| 50 | 50 | * @throws InvalidArgumentException |
| 51 | 51 | */ |
| 52 | - public function last_performance_date(string $timezone = 'America/New_York'): DateTime|bool |
|
| 52 | + public function last_performance_date(string $timezone = 'America/New_York'): DateTime | bool |
|
| 53 | 53 | { |
| 54 | 54 | try { |
| 55 | 55 | $timezone = new DateTimeZone($timezone); |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | try { |
| 62 | 62 | return DateTime::createFromFormat(' Y-m-d\TG:i:sp', $date, $timezone); |
| 63 | 63 | } catch (Exception $e) { |
| 64 | - throw new Exception("Unable to parse LastPerformanceDate: " . $e->getMessage()); |
|
| 64 | + throw new Exception("Unable to parse LastPerformanceDate: ".$e->getMessage()); |
|
| 65 | 65 | } |
| 66 | 66 | } |
| 67 | 67 | |