Skip to content

Commit cb92340

Browse files
committed
Fixes style
1 parent d341859 commit cb92340

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

tests/Integration/View/ViewComponentTest.php

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -807,17 +807,20 @@ public function test_loop_variable_can_be_used_within_the_looped_tag(): void
807807
<<<'HTML'
808808
<x-some-component-with-loop :items="$this->items" />
809809
HTML,
810-
)->data(items: [
811-
new class {
812-
public string $title = 'Item 1';
813-
public string $uri = '/item-1';
814-
},
815-
new class {
816-
public string $title = 'Item 2';
817-
public string $uri = '/item-2';
818-
},
819-
]
820-
));
810+
)
811+
->data(items: [
812+
new class {
813+
public string $title = 'Item 1';
814+
815+
public string $uri = '/item-1';
816+
},
817+
new class {
818+
public string $title = 'Item 2';
819+
820+
public string $uri = '/item-2';
821+
},
822+
]),
823+
);
821824

822825
$this->assertSnippetsMatch(<<<'HTML'
823826
<a href="/item-1">Item 1</a><a href="/item-2">Item 2</a>

0 commit comments

Comments
 (0)