Skip to content

Commit b622d26

Browse files
committed
[Profiler] Make the validator toolbar item consistent with the form one
1 parent 6727d41 commit b622d26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{% set icon %}
77
{{ include('@WebProfiler/Icon/validator.svg') }}
88
<span class="sf-toolbar-value">
9-
{{ collector.violationsCount }}
9+
{{ collector.violationsCount ?: collector.calls|length }}
1010
</span>
1111
{% endset %}
1212

0 commit comments

Comments
 (0)