Skip to content

Commit

Permalink
Adds missed test
Browse files Browse the repository at this point in the history
  • Loading branch information
butschster committed Apr 2, 2024
1 parent c8e712b commit 0e980cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stempler/tests/fixtures/ImageDirective.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function renderImage(Directive $directive): string
return \sprintf(
'<img title=%s src=%s size=%s type=%s>',
$directive->values[0],
$directive->values[1],
\str_starts_with($directive->values[1], '$') ? \sprintf('"<?php echo %s; ?>"', $directive->values[1]) : $directive->values[1],
$directive->values[2],
$directive->values[3],
);
Expand Down

0 comments on commit 0e980cd

Please sign in to comment.