@@ -21,10 +21,10 @@ |
||
21 | 21 | $str = Attributes::toString($attributes); |
22 | 22 | |
23 | 23 | return [ |
24 | - 'simple' => ['a', 'ABC', null, null, null, '<label for="a">ABC</label>',], |
|
25 | - 'with attributes' => ['a', 'ABC', $attributes, null, null, "<label$str for=\"a\">ABC</label>",], |
|
26 | - 'with translations' => ['a', 'ABC', null, ['ABC' => 'CBA'], null, '<label for="a">CBA</label>',], |
|
27 | - 'custom tag' => ['a', 'ABC', null, [], 'foo', '<foo for="a">ABC</foo>',], |
|
24 | + 'simple' => ['a', 'ABC', null, null, null, '<label for="a">ABC</label>', ], |
|
25 | + 'with attributes' => ['a', 'ABC', $attributes, null, null, "<label$str for=\"a\">ABC</label>", ], |
|
26 | + 'with translations' => ['a', 'ABC', null, ['ABC' => 'CBA'], null, '<label for="a">CBA</label>', ], |
|
27 | + 'custom tag' => ['a', 'ABC', null, [], 'foo', '<foo for="a">ABC</foo>', ], |
|
28 | 28 | ]; |
29 | 29 | } |
30 | 30 |
@@ -38,7 +38,7 @@ |
||
38 | 38 | ?array $attributes = null, |
39 | 39 | ?string $tag = null |
40 | 40 | ) { |
41 | - $attributes ??= []; |
|
41 | + $attributes ??= []; |
|
42 | 42 | $attributes = Attributes::addItem($attributes, Html5::ATTR_ID, $inputId); |
43 | 43 | if (!in_array(Html5::ATTR_ROWS, $attributes)) { |
44 | 44 | $attributes = Attributes::addItem($attributes, Html5::ATTR_ROWS, static::DEFAULT_ROW); |
@@ -18,9 +18,9 @@ |
||
18 | 18 | |
19 | 19 | protected Mailer $fakeMailer; |
20 | 20 | |
21 | - protected Email|MockObject $emailMock; |
|
21 | + protected Email | MockObject $emailMock; |
|
22 | 22 | |
23 | - protected MessageFactory|MockObject $messageFactory; |
|
23 | + protected MessageFactory | MockObject $messageFactory; |
|
24 | 24 | |
25 | 25 | protected array $recipients = [ |
26 | 26 | '[email protected]', |