|
@@ -25,11 +25,11 @@ discard block |
|
|
block discarded – undo |
|
25
|
25
|
$attributes = StubAttributeFactory::createAttributes(); |
|
26
|
26
|
|
|
27
|
27
|
$callbacks = [ |
|
28
|
|
- StubAttributeFactory::ATTRIBUTE_FOO => fn () => [ |
|
|
28
|
+ StubAttributeFactory::ATTRIBUTE_FOO => fn() => [ |
|
29
|
29
|
StubAttributeFactory::VALUE_FOO, |
|
30
|
30
|
StubAttributeFactory::VALUE_BAZ, |
|
31
|
31
|
], |
|
32
|
|
- StubAttributeFactory::ATTRIBUTE_BAR => fn () => StubAttributeFactory::VALUE_BAR_BAZ, |
|
|
32
|
+ StubAttributeFactory::ATTRIBUTE_BAR => fn() => StubAttributeFactory::VALUE_BAR_BAZ, |
|
33
|
33
|
]; |
|
34
|
34
|
|
|
35
|
35
|
return [ |
|
@@ -80,7 +80,7 @@ discard block |
|
|
block discarded – undo |
|
80
|
80
|
$content = 'Button'; |
|
81
|
81
|
$attributes = null; |
|
82
|
82
|
$attributeCallbacks = [ |
|
83
|
|
- StubAttributeFactory::ATTRIBUTE_FOO => fn ($value, IEntity $entity) => [$entity->getId()], |
|
|
83
|
+ StubAttributeFactory::ATTRIBUTE_FOO => fn($value, IEntity $entity) => [$entity->getId()], |
|
84
|
84
|
]; |
|
85
|
85
|
|
|
86
|
86
|
$sut = $this->createElement($content, $attributes, $attributeCallbacks, null, null); |
Please login to merge, or discard this patch.