@@ -29,7 +29,7 @@ |
||
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 | } |
@@ -70,7 +70,7 @@ |
||
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 |