From cbabaf9e4ed6e74df54b49a6e838d808c7158f7e Mon Sep 17 00:00:00 2001 From: John Oleksowicz Date: Mon, 11 Apr 2022 13:15:35 -0500 Subject: [PATCH] Idiomatic way of specifying mixed return type [MAILPOET-4191] --- mailpoet/lib/Automation/Engine/Workflows/Field.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mailpoet/lib/Automation/Engine/Workflows/Field.php b/mailpoet/lib/Automation/Engine/Workflows/Field.php index 0063a2833d..aa0a2c2a7e 100644 --- a/mailpoet/lib/Automation/Engine/Workflows/Field.php +++ b/mailpoet/lib/Automation/Engine/Workflows/Field.php @@ -54,7 +54,9 @@ class Field { return $this->factory; } - // @phpstan-ignore-next-line - there is no consistent return type + /** + * @return mixed + */ public function getValue() { return $this->getFactory()(); }