From 3cad564fd56b86127a406b818e9330f5d33ad09d Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 27 Nov 2022 15:38:25 +1100 Subject: [PATCH] Don't return value from void function --- app/Jobs/Entity/EmailEntity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/Entity/EmailEntity.php b/app/Jobs/Entity/EmailEntity.php index 08632f7c77a7..6abd46369ed0 100644 --- a/app/Jobs/Entity/EmailEntity.php +++ b/app/Jobs/Entity/EmailEntity.php @@ -103,7 +103,7 @@ class EmailEntity implements ShouldQueue { /* Don't fire emails if the company is disabled */ if ($this->company->is_disabled) { - return true; + return; } /* Set DB */