From c2027932c00eb049aa6498e1a1ab88ae8260454f Mon Sep 17 00:00:00 2001 From: Jan Jakes Date: Mon, 4 Sep 2023 13:13:38 +0200 Subject: [PATCH] Remove unnecessary check [MAILPOET-5568] --- mailpoet/lib/Automation/Engine/Data/AutomationRunLog.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mailpoet/lib/Automation/Engine/Data/AutomationRunLog.php b/mailpoet/lib/Automation/Engine/Data/AutomationRunLog.php index 85e499d0ee..c5e08b6540 100644 --- a/mailpoet/lib/Automation/Engine/Data/AutomationRunLog.php +++ b/mailpoet/lib/Automation/Engine/Data/AutomationRunLog.php @@ -142,10 +142,6 @@ class AutomationRunLog { /** @param mixed $data */ private function isDataStorable($data): bool { - if (is_object($data)) { - return false; - } - if (is_scalar($data)) { return true; } @@ -159,7 +155,6 @@ class AutomationRunLog { return false; } } - return true; } }