From 4a9233c949298af53f65e0479bbdce8a739f1a32 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 5 Dec 2020 21:57:33 +0100 Subject: [PATCH] try to fix static return --- 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 2d0c118a3..23c911ada 100644 --- a/DataStorage/Database/DataMapperAbstract.php +++ b/DataStorage/Database/DataMapperAbstract.php @@ -336,11 +336,11 @@ class DataMapperAbstract implements DataMapperInterface * @param string[] $models Models to apply the conditional on * @param string $comparison Comparison operator * - * @return static + * @return string * * @since 1.0.0 */ - public static function withConditional(string $id, mixed $value, array $models = [], string $comparison = '=') : static + public static function withConditional(string $id, mixed $value, array $models = [], string $comparison = '=') : string { self::$conditionals[$id] = [ 'value' => $value,