Remove unnecessary check
[MAILPOET-5568]
This commit is contained in:
@@ -142,10 +142,6 @@ class AutomationRunLog {
|
|||||||
|
|
||||||
/** @param mixed $data */
|
/** @param mixed $data */
|
||||||
private function isDataStorable($data): bool {
|
private function isDataStorable($data): bool {
|
||||||
if (is_object($data)) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (is_scalar($data)) {
|
if (is_scalar($data)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -159,7 +155,6 @@ class AutomationRunLog {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user