From a49bc1381914b964606ecb579f58968c68284959 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Fri, 7 Jan 2022 17:49:14 +0100 Subject: [PATCH] [TASk] Do not allow string values for rules anymore String values had not been allowed for rules, and should not be. (Passing string values was a bug in the Emogrifier library.) @see https://github.com/MyIntervals/emogrifier/pull/1144 This reverts commit 67a6e95f8ad2c9c3d8d745f1943eda8da81383a4. --- src/Rule/Rule.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Rule/Rule.php b/src/Rule/Rule.php index ca9f380c..8339bc70 100644 --- a/src/Rule/Rule.php +++ b/src/Rule/Rule.php @@ -25,7 +25,7 @@ class Rule implements Renderable, Commentable private $sRule; /** - * @var RuleValueList|string|null + * @var RuleValueList|null */ private $mValue; @@ -166,7 +166,7 @@ public function getRule() } /** - * @return RuleValueList|string|null + * @return RuleValueList|null */ public function getValue() { @@ -174,7 +174,7 @@ public function getValue() } /** - * @param RuleValueList|string|null $mValue + * @param RuleValueList|null $mValue */ public function setValue($mValue): void {