Remove unnecessary check

[MAILPOET-5568]
This commit is contained in:
Jan Jakes
2023-09-04 13:13:38 +02:00
committed by Aschepikov
parent ef42cf39f1
commit c2027932c0

View File

@@ -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;
}
}