From 7412a2cc0ac6f01cccb193c4519817822ae783ad Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 24 Mar 2020 18:02:00 +0100 Subject: [PATCH] fix conditional value type --- DataStorage/Database/DataMapperAbstract.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DataStorage/Database/DataMapperAbstract.php b/DataStorage/Database/DataMapperAbstract.php index b675777c6..db0dbcad8 100644 --- a/DataStorage/Database/DataMapperAbstract.php +++ b/DataStorage/Database/DataMapperAbstract.php @@ -269,13 +269,13 @@ class DataMapperAbstract implements DataMapperInterface * Create a conditional value * * @param string $id Id of the conditional - * @param string $value Value of the conditional + * @param mixed $value Value of the conditional * * @return static * * @since 1.0.0 */ - public static function withConditional(string $id, string $value) /** @todo: return : static */ + public static function withConditional(string $id, $value) /** @todo: return : static */ { self::$conditionals[$id] = $value; return static::class;