Skip to content

Commit 4bd2853

Browse files
author
Enno Woortmann
committed
PHP compatibility
1 parent 8a88577 commit 4bd2853

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/RenderTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ public function testForeachInsideFalsyIfIsNotEvaluated(): void
428428

429429
$this->assertSame(
430430
'',
431-
$this->render->renderTemplateString($template, ['items' => null]),
431+
$this->render->renderTemplateString($template, ['items' => null])
432432
);
433433
}
434434

@@ -443,8 +443,8 @@ public function testForeachInsideTruthyIfIsEvaluated(): void
443443
'Oak,Birch,',
444444
$this->render->renderTemplateString(
445445
$template,
446-
['items' => new Product('Wood', true, ['Oak', 'Birch'])],
447-
),
446+
['items' => new Product('Wood', true, ['Oak', 'Birch'])]
447+
)
448448
);
449449
}
450450

@@ -489,8 +489,8 @@ public function testForeachInsideIfAlongsideSiblingForeach(): void
489489
'[Oak][Birch]HammerWood',
490490
$this->render->renderTemplateString(
491491
$template,
492-
['items' => $products, 'extra' => new Product('Extra', true, ['Oak', 'Birch'])],
493-
),
492+
['items' => $products, 'extra' => new Product('Extra', true, ['Oak', 'Birch'])]
493+
)
494494
);
495495
}
496496

0 commit comments

Comments
 (0)