Skip to content

Commit

Permalink
[Profiler] Make the validator toolbar item consistent with the form one
Browse files Browse the repository at this point in the history
  • Loading branch information
ogizanagi committed Aug 9, 2017
1 parent 6727d41 commit b622d26
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -6,7 +6,7 @@
{% set icon %}
{{ include('@WebProfiler/Icon/validator.svg') }}
<span class="sf-toolbar-value">
{{ collector.violationsCount }}
{{ collector.violationsCount ?: collector.calls|length }}
</span>
{% endset %}

Expand Down

0 comments on commit b622d26

Please sign in to comment.