@@ -101,13 +101,13 @@ |
||
101 | 101 | private function getEmailAddresses(EmailAddressManager $emailAddressManager): array |
102 | 102 | { |
103 | 103 | $repo = $emailAddressManager->getEmailAddressRepository(); |
104 | - $emailAddresses = array_filter($repo->findAll(), function (EmailAddress $emailAddress) { |
|
104 | + $emailAddresses = array_filter($repo->findAll(), function(EmailAddress $emailAddress) { |
|
105 | 105 | return $emailAddress->getOwner() instanceof Contact; |
106 | 106 | }); |
107 | 107 | |
108 | 108 | return array_values( |
109 | 109 | array_map( |
110 | - function (EmailAddress $emailAddress) { |
|
110 | + function(EmailAddress $emailAddress) { |
|
111 | 111 | return $emailAddress->getEmail(); |
112 | 112 | }, |
113 | 113 | $emailAddresses |
@@ -77,7 +77,7 @@ |
||
77 | 77 | |
78 | 78 | $resolver->setNormalizer( |
79 | 79 | 'query_builder', |
80 | - function (Options $options, $value) { |
|
80 | + function(Options $options, $value) { |
|
81 | 81 | $entities = $options['entities']; |
82 | 82 | $queryBuilder = $this->channelsProvider->getChannelsByEntitiesQB($entities); |
83 | 83 |
@@ -43,12 +43,12 @@ |
||
43 | 43 | // Set store form type readonly if ASSIGN permissions for integration not set |
44 | 44 | $resolver->setNormalizer( |
45 | 45 | 'disabled', |
46 | - function (Options $options, $value) { |
|
46 | + function(Options $options, $value) { |
|
47 | 47 | return $this->isReadOnly() ? true : $value; |
48 | 48 | } |
49 | 49 | )->setNormalizer( |
50 | 50 | 'validation_groups', |
51 | - function (Options $options, $value) { |
|
51 | + function(Options $options, $value) { |
|
52 | 52 | return $options['disabled'] ? false : $value; |
53 | 53 | } |
54 | 54 | ); |
@@ -26,7 +26,7 @@ |
||
26 | 26 | ->method('setNormalizer') |
27 | 27 | ->with( |
28 | 28 | 'entry_options', |
29 | - function (Options $options, $values) { |
|
29 | + function(Options $options, $values) { |
|
30 | 30 | if (!$values) { |
31 | 31 | $values = []; |
32 | 32 | } |