Weird syntax in layout.blade.php. Change the use of 'or' operator to the null coalesce operator (#6240)

This commit is contained in:
Ivan Nieto 2018-09-27 00:33:34 -05:00 committed by snipe
parent 16e56646b8
commit 309f102745

View file

@ -31,7 +31,7 @@
<tr>
<td align="center">
<table class="content" width="100%" cellpadding="0" cellspacing="0">
{{ $header or '' }}
{{ $header ?? '' }}
<!-- Email Body -->
<tr>
@ -42,14 +42,14 @@
<td class="content-cell">
{{ Illuminate\Mail\Markdown::parse($slot) }}
{{ $subcopy or '' }}
{{ $subcopy ?? '' }}
</td>
</tr>
</table>
</td>
</tr>
{{ $footer or '' }}
{{ $footer ?? '' }}
</table>
</td>
@ -57,3 +57,4 @@
</table>
</body>
</html>