fix conditional value type

This commit is contained in:
Dennis Eichhorn 2020-03-24 18:02:00 +01:00
parent f6436911f1
commit 7412a2cc0a

View File

@ -269,13 +269,13 @@ class DataMapperAbstract implements DataMapperInterface
* Create a conditional value * Create a conditional value
* *
* @param string $id Id of the conditional * @param string $id Id of the conditional
* @param string $value Value of the conditional * @param mixed $value Value of the conditional
* *
* @return static * @return static
* *
* @since 1.0.0 * @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; self::$conditionals[$id] = $value;
return static::class; return static::class;