Skip to content

Commit ff672c9

Browse files
committed
Work around efabrica-team/phpstan-latte#396 (it's an int but let's pretend it's a string)
1 parent e13f5ef commit ff672c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

site/app/Admin/Presenters/templates/Pulse/passwordsStorages.latte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
<tr n:if="$i != 0"><td></td><td><small><a href="#newdisclosure-{$i}"><span>add {$i + 1}. disclosure</span><span class="hidden">cancel adding</span></a></small></td></tr>
8383
<tbody id="newdisclosure-{$i}" n:class="$i != 0 ? hidden">
8484
{formContainer new}
85-
{formContainer $i}
85+
{formContainer "$i"}
8686
<tr><th>{label disclosure /}</th><td>{input disclosure}</td></tr>
8787
<tr><th>{label url /}</th><td>{input url}</td></tr>
8888
<tr><th>{label archive /}</th><td>{input archive}</td></tr>

site/app/Admin/Presenters/templates/Talks/slides.latte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
{/formContainer}
6363
{formContainer new}
6464
{for $i = 0; $i < $newCount; $i++}
65-
{formContainer $i}
65+
{formContainer "$i"}
6666
<tbody class="new-slide changed">
6767
<tr>
6868
<th class="right">Číslo</th>

0 commit comments

Comments
 (0)