Skip to content

Commit d686373

Browse files
authored
Update EmailComposer.php
1 parent 47974a8 commit d686373

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/EmailComposer.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public function attach($file, $options = [])
220220
{
221221
$attachments = null;
222222

223-
if ( !empty($file) || !is_null($file) ) {
223+
if (! empty($file) || ! is_null($file)) {
224224

225225
$attachments = $this->hasData('attachments') ? $this->getData('attachments') : [];
226226

@@ -243,7 +243,7 @@ public function attachData($data, $name, array $options = [])
243243
{
244244
$attachments = null;
245245

246-
if ( !empty($data) || !is_null($data) ) {
246+
if (! empty($data) || ! is_null($data)) {
247247

248248
$attachments = $this->hasData('rawAttachments') ? $this->getData('rawAttachments') : [];
249249

0 commit comments

Comments
 (0)