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

Commit

Permalink
Fix: cannot instantiate abstract class
Browse files Browse the repository at this point in the history
  • Loading branch information
4n70w4 authored and Qoraiche committed Mar 4, 2020
1 parent 4324be9 commit 48e2aac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/mailEclipse.php
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,12 @@ protected static function mailablesList()
continue;
}

$reflector = new ReflectionClass($mailableClass);

if ($reflector->isAbstract()) {
continue;
}

$mailable_data = self::buildMailable($mailableClass);

if (! is_null(self::handleMailableViewDataArgs($mailableClass))) {
Expand Down

0 comments on commit 48e2aac

Please sign in to comment.