@@ -35,7 +35,7 @@ |
||
| 35 | 35 | |
| 36 | 36 | private function populateOptionsWithDefaults(array $options): array |
| 37 | 37 | { |
| 38 | - $elementNameClosure = function (?Enum $enum): string { |
|
| 38 | + $elementNameClosure = function(?Enum $enum): string { |
|
| 39 | 39 | if (null === $enum) { |
| 40 | 40 | return ''; |
| 41 | 41 | } |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | public function __construct($options = null) |
| 14 | 14 | { |
| 15 | 15 | parent::__construct( |
| 16 | - function (): array { |
|
| 16 | + function(): array { |
|
| 17 | 17 | $choices = []; |
| 18 | 18 | |
| 19 | 19 | foreach ($this->enumClass::values() as $element) { |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | public function __construct($options = null) |
| 14 | 14 | { |
| 15 | 15 | parent::__construct( |
| 16 | - function (): array { |
|
| 16 | + function(): array { |
|
| 17 | 17 | return $this->enumClass::values(); |
| 18 | 18 | }, |
| 19 | 19 | $options |