What's Changed
diff --git a/src/Value.php b/src/Value.php
index 677171b..911a7ff 100644
--- a/src/Value.php
+++ b/src/Value.php
@@ -67,7 +67,7 @@ class Value implements ValueInterface
*
* @param bool|float|int|string $value
*/
- public static function as(string $type, $value): ExpressionInterface
+ public static function as(string $type, $value): ValueInterface
{
switch ($type) {
case static::TYPE_INTEGER:Full Changelog: v2.1.0...v2.1.1