Completed
Pull Request — master (#328)
by
unknown
05:47
created
src/Place/PlaceThemeResolver.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@
 block discarded – undo
20 20
 
21 21
     public function byId(StringLiteral $themeId)
22 22
     {
23
-        if (!array_key_exists((string) $themeId, $this->themes)) {
24
-            throw new \Exception("Unknown place theme id: " . $themeId);
23
+        if (!array_key_exists((string)$themeId, $this->themes)) {
24
+            throw new \Exception("Unknown place theme id: ".$themeId);
25 25
         }
26
-        return $this->themes[(string) $themeId];
26
+        return $this->themes[(string)$themeId];
27 27
     }
28 28
 }
Please login to merge, or discard this patch.
src/Place/PlaceTypeResolver.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,9 +38,9 @@
 block discarded – undo
38 38
 
39 39
     public function byId(StringLiteral $typeId)
40 40
     {
41
-        if (!array_key_exists((string) $typeId, $this->types)) {
42
-            throw new \Exception("Unknown place type id: " . $typeId);
41
+        if (!array_key_exists((string)$typeId, $this->types)) {
42
+            throw new \Exception("Unknown place type id: ".$typeId);
43 43
         }
44
-        return $this->types[(string) $typeId];
44
+        return $this->types[(string)$typeId];
45 45
     }
46 46
 }
Please login to merge, or discard this patch.