1
0
Fork 0
mirror of synced 2024-07-05 14:40:42 +12:00

chore: linter

This commit is contained in:
Christy Jacob 2023-09-26 00:10:17 +04:00
parent 39dc153a22
commit 79d7bd8379

View file

@ -107,7 +107,7 @@ class Hamster extends Action
$smtp = $project->getAttribute('smtp', null);
if ($smtp) {
$statsPerProject['custom_smtp_status'] = $smtp['enabled'] === true ? 'enabled' : 'disabled';
/** Get Custom Templates Count */
$templates = array_keys($project->getAttribute('templates', []));
$statsPerProject['custom_email_templates'] = array_filter($templates, function ($template) {