Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Apr 3, 2023
1 parent 7149cf3 commit 9d883b2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions resources/lang/en/mailable.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php

return [];
<?php

return [];
6 changes: 3 additions & 3 deletions resources/lang/en/template.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php

return [];
<?php

return [];
2 changes: 1 addition & 1 deletion src/Http/Controllers/MailablesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function __construct()
App::environment(config('maileclipse.allowed_environments', ['local'])),
403,
'Environment Not Allowed'
);
);
}

public function toMailablesList()
Expand Down
4 changes: 2 additions & 2 deletions src/MailEclipse.php
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ protected static function mailablesList()
return ! array_search(
'Illuminate\Contracts\Mail\Mailable',
class_implements($object['namespace']
));
));
});

return $collection;
Expand Down Expand Up @@ -1082,7 +1082,7 @@ public static function renderMailable(string $name)
$view = $mailable['markdown'] ?? $mailable['data']->view;

if (view()->exists($view)) {
return ($mailableInstance)->render();
return $mailableInstance->render();
}

return view(self::VIEW_NAMESPACE.'::previewerror', ['errorMessage' => 'No template associated with this mailable.']);
Expand Down

0 comments on commit 9d883b2

Please sign in to comment.