Completed
Pull Request — master (#427)
by
unknown
02:48
created
src/Place/PlaceTypeResolver.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,9 +40,9 @@
 block discarded – undo
40 40
 
41 41
     public function byId(StringLiteral $typeId): EventType
42 42
     {
43
-        if (!array_key_exists((string) $typeId, $this->types)) {
44
-            throw new Exception("Unknown place type id: " . $typeId);
43
+        if (!array_key_exists((string)$typeId, $this->types)) {
44
+            throw new Exception("Unknown place type id: ".$typeId);
45 45
         }
46
-        return $this->types[(string) $typeId];
46
+        return $this->types[(string)$typeId];
47 47
     }
48 48
 }
Please login to merge, or discard this patch.
src/Event/EventTypeResolver.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,9 +42,9 @@
 block discarded – undo
42 42
 
43 43
     public function byId(StringLiteral $typeId): EventType
44 44
     {
45
-        if (!array_key_exists((string) $typeId, $this->types)) {
46
-            throw new Exception("Unknown event type id: " . $typeId);
45
+        if (!array_key_exists((string)$typeId, $this->types)) {
46
+            throw new Exception("Unknown event type id: ".$typeId);
47 47
         }
48
-        return $this->types[(string) $typeId];
48
+        return $this->types[(string)$typeId];
49 49
     }
50 50
 }
Please login to merge, or discard this patch.