Skip to content

v2.1.1

Latest

Choose a tag to compare

@mpyw mpyw released this 15 Dec 01:46
8e60fc8

What's Changed

  • [Claude] Add PHP 8.5 to CI test matrix by @mpyw in #17
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