Skip to content

Commit 9de898d

Browse files
committed
[Form][Profiler] Fixes form collector triggering deprecations
1 parent d0aa4d9 commit 9de898d

File tree

1 file changed

+7
-7
lines changed
  • src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector

1 file changed

+7
-7
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/form.html.twig

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -525,21 +525,21 @@
525525
<th class="font-normal" scope="row">Model Format</th>
526526
<td>
527527
{% if data.default_data.model is defined %}
528-
{{ profiler_dump(data.default_data.model) }}
528+
{{ profiler_dump(data.default_data.seek('model')) }}
529529
{% else %}
530530
<em class="font-normal text-muted">same as normalized format</em>
531531
{% endif %}
532532
</td>
533533
</tr>
534534
<tr>
535535
<th class="font-normal" scope="row">Normalized Format</th>
536-
<td>{{ profiler_dump(data.default_data.norm) }}</td>
536+
<td>{{ profiler_dump(data.default_data.seek('norm')) }}</td>
537537
</tr>
538538
<tr>
539539
<th class="font-normal" scope="row">View Format</th>
540540
<td>
541541
{% if data.default_data.view is defined %}
542-
{{ profiler_dump(data.default_data.view) }}
542+
{{ profiler_dump(data.default_data.seek('view')) }}
543543
{% else %}
544544
<em class="font-normal text-muted">same as normalized format</em>
545545
{% endif %}
@@ -571,21 +571,21 @@
571571
<th class="font-normal" scope="row">View Format</th>
572572
<td>
573573
{% if data.submitted_data.view is defined %}
574-
{{ profiler_dump(data.submitted_data.view) }}
574+
{{ profiler_dump(data.submitted_data.seek('view')) }}
575575
{% else %}
576576
<em class="font-normal text-muted">same as normalized format</em>
577577
{% endif %}
578578
</td>
579579
</tr>
580580
<tr>
581581
<th class="font-normal" scope="row">Normalized Format</th>
582-
<td>{{ profiler_dump(data.submitted_data.norm) }}</td>
582+
<td>{{ profiler_dump(data.submitted_data.seek('norm')) }}</td>
583583
</tr>
584584
<tr>
585585
<th class="font-normal" scope="row">Model Format</th>
586586
<td>
587587
{% if data.submitted_data.model is defined %}
588-
{{ profiler_dump(data.submitted_data.model) }}
588+
{{ profiler_dump(data.submitted_data.seek('model')) }}
589589
{% else %}
590590
<em class="font-normal text-muted">same as normalized format</em>
591591
{% endif %}
@@ -630,7 +630,7 @@
630630
{% if resolved_option_value == option_value %}
631631
<em class="font-normal text-muted">same as passed value</em>
632632
{% else %}
633-
{{ profiler_dump(data.resolved_options[option]) }}
633+
{{ profiler_dump(data.resolved_options.seek(option)) }}
634634
{% endif %}
635635
</td>
636636
</tr>

0 commit comments

Comments
 (0)