8000 [DoctrineBundle] Fixed incorrectly shown params · symfony/symfony@662fdc3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 662fdc3

Browse files
committed
[DoctrineBundle] Fixed incorrectly shown params
After the changes in #2733, the parameters to Doctrine queries were always shown as 'Array' in the profiler. This commit puts back the yaml_encode that is still needed after all.
1 parent 9e38d6a commit 662fdc3

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Bundle/DoctrineBundle/Resources/views/Collector

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/DoctrineBundle/Resources/views/Collector/db.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<code>{{ query.sql }}</code>
3737
</div>
3838
<small>
39-
<strong>Parameters</strong>: {{ query.params }}<br />
39+
<strong>Parameters</strong>: {{ query.params|yaml_encode }}<br />
4040
<strong>Time</strong>: {{ '%0.2f'|format(query.executionMS * 1000) }} ms
4141
</small>
4242
</li>

0 commit comments

Comments
 (0)
0