[COMPONENT][PLUGIN] Small refactor and add license

This commit is contained in:
Hugo Sales
2020-08-05 16:32:46 +00:00
committed by Hugo Sales
parent b2b0990bf6
commit d7801737f6
3 changed files with 54 additions and 1 deletions

View File

@@ -32,12 +32,14 @@
namespace Component\Email;
use App\Core\Event;
use App\Core\Module;
class Email extends Module
{
public function onAddNotificationTransport($form_defs)
public function onAddNotificationTransport(&$form_defs): bool
{
$form_defs['email'] = $form_defs['placeholder'];
return Event::next;
}
}