@@ -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 | } |
@@ -69,7 +69,7 @@ |
||
69 | 69 | */ |
70 | 70 | private function ensureTranslationsAreUnique(array $eventStatusReasons): void |
71 | 71 | { |
72 | - $languageCodes = \array_map(static function (EventStatusReason $reason) { |
|
72 | + $languageCodes = \array_map(static function(EventStatusReason $reason) { |
|
73 | 73 | return $reason->getLanguage()->getCode(); |
74 | 74 | }, $eventStatusReasons); |
75 | 75 |