@@ -39,7 +39,7 @@ |
||
| 39 | 39 | ) { |
| 40 | 40 | Assert::allIsInstanceOfAny($children, [Assertion::class, Attribute::class]); |
| 41 | 41 | |
| 42 | - $assertions = array_filter($children, function ($child) { |
|
| 42 | + $assertions = array_filter($children, function($child) { |
|
| 43 | 43 | return $child instanceof Assertion; |
| 44 | 44 | }); |
| 45 | 45 | |
@@ -94,7 +94,7 @@ |
||
| 94 | 94 | Assert::maxCount( |
| 95 | 95 | array_filter( |
| 96 | 96 | $attributeConsumingService, |
| 97 | - function (AttributeConsumingService $acs) { |
|
| 97 | + function(AttributeConsumingService $acs) { |
|
| 98 | 98 | return $acs->getIsDefault() === true; |
| 99 | 99 | } |
| 100 | 100 | ), |
@@ -229,7 +229,7 @@ |
||
| 229 | 229 | Assert::maxCount(array_unique($types), 1, 'Multiple class types cannot be used.'); |
| 230 | 230 | |
| 231 | 231 | $languages = array_map( |
| 232 | - function ($elt) { |
|
| 232 | + function($elt) { |
|
| 233 | 233 | return $elt->getLanguage(); |
| 234 | 234 | }, |
| 235 | 235 | $elements, |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | * within a given <mdrpi:RegistrationInfo>, for a given language |
| 38 | 38 | */ |
| 39 | 39 | $languages = array_map( |
| 40 | - function ($rp) { |
|
| 40 | + function($rp) { |
|
| 41 | 41 | return $rp->getLanguage(); |
| 42 | 42 | }, |
| 43 | 43 | $registrationPolicy, |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | * within a given <mdrpi:UsageInfo>, for a given language |
| 40 | 40 | */ |
| 41 | 41 | $languages = array_map( |
| 42 | - function ($up) { |
|
| 42 | + function($up) { |
|
| 43 | 43 | return $up->getLanguage(); |
| 44 | 44 | }, |
| 45 | 45 | $usagePolicy, |