8000 [WebProfilerBundle] Use same as comparison instead of typecast · simonsargeant/symfony@35bbe5b · GitHub
[go: up one dir, main page]

Skip to content

Commit 35bbe5b

Browse files
committed
[WebProfilerBundle] Use same as comparison instead of typecast
1 parent b36334c commit 35bbe5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,21 +50,21 @@
5050
</span>
5151
</div>
5252

53-
{% if 'n/a' != collector.appname %}
53+
{% if 'n/a' is not same as(collector.appname) %}
5454
<div class="sf-toolbar-info-piece">
5555
<b>Kernel name</b>
5656
<span>{{ collector.appname }}</span>
5757
</div>
5858
{% endif %}
5959

60-
{% if 'n/a' != collector.env %}
60+
{% if 'n/a' is not same as(collector.env) %}
6161
<div class="sf-toolbar-info-piece">
6262
<b>Environment</b>
6363
<span>{{ collector.env }}</span>
6464
</div>
6565
{% endif %}
6666

67-
{% if 'n/a' != collector.debug %}
67+
{% if 'n/a' is not same as(collector.debug) %}
6868
<div class="sf-toolbar-info-piece">
6969
<b>Debug</b>
7070
<span class="sf-toolbar-status sf-toolbar-status-{{ collector.debug ? 'green' : 'red' }}">{{ collector.debug ? 'enabled' : 'disabled' }}</span>

0 commit comments

Comments
 (0)
0