Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e186621

Browse filesBrowse files
committed
Simplify condition
1 parent bfebf70 commit e186621
Copy full SHA for e186621

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/notifier.html.twig

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/notifier.html.twig
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
<h2 class="m-t-10">{{ message.getSubject() ?? '(empty)' }}</h2>
116116
</div>
117117
{% set notification = message.notification ?? null %}
118-
{% if notification is not null %}
118+
{% if notification %}
119119
<div class="card-block">
120120
<div class="row">
121121
<div class="col">
@@ -129,7 +129,7 @@
129129
{% endif %}
130130
<div class="card-block">
131131
<div class="sf-tabs sf-tabs-sm">
132-
{% if notification is not null %}
132+
{% if notification %}
133133
<div class="tab">
134134
<h3 class="tab-title">Notification</h3>
135135
<div class="tab-content">

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.