Completed
Pull Request — master (#480)
by Jonas
02:20
created
src/Event/ValueObjects/EventStatusType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     private function __construct(string $value)
30 30
     {
31 31
         if (!\in_array($value, self::ALLOWED_VALUES, true)) {
32
-            throw new InvalidArgumentException('Status does not support the value "' . $value . '"');
32
+            throw new InvalidArgumentException('Status does not support the value "'.$value.'"');
33 33
         }
34 34
         $this->value = $value;
35 35
     }
Please login to merge, or discard this patch.
src/Event/ValueObjects/EventStatus.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
     private function ensureTranslationsAreUnique(array $eventStatusReasons): void
71 71
     {
72 72
         $languageCodes = \array_map(
73
-            static function (EventStatusReason $reason) {
73
+            static function(EventStatusReason $reason) {
74 74
                 return $reason->getLanguage()->getCode();
75 75
             },
76 76
             $eventStatusReasons
Please login to merge, or discard this patch.