Passed
Push — main ( 70d1da...aa21a4 )
by Daryl
03:22 queued 43s
created
src/Resources/Performances.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Resources/ProductionSeason.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.