intelephense

1.14.41.16.1
lib/stub/mongodb/BSON/Decimal128.php
lib/stub/mongodb/BSON/Decimal128.php
+4−22
Index: package/lib/stub/mongodb/BSON/Decimal128.php
===================================================================
--- package/lib/stub/mongodb/BSON/Decimal128.php
+++ package/lib/stub/mongodb/BSON/Decimal128.php
@@ -3,15 +3,15 @@
 namespace MongoDB\BSON;
 
 use JsonSerializable;
 use MongoDB\Driver\Exception\InvalidArgumentException;
-use MongoDB\Driver\Exception\UnexpectedValueException;
+use Stringable;
 
 /**
  * BSON type for the Decimal128 floating-point format, which supports numbers with up to 34 decimal digits (i.e. significant digits) and an exponent range of −6143 to +6144.
  * @link https://php.net/manual/en/class.mongodb-bson-decimal128.php
  */
-final class Decimal128 implements Type, Decimal128Interface, \Serializable, JsonSerializable
+final class Decimal128 implements Type, Decimal128Interface, JsonSerializable, Stringable
 {
     /**
      * Construct a new Decimal128
      * @link https://php.net/manual/en/mongodb-bson-decimal128.construct.php
@@ -24,33 +24,15 @@
      * @link https://php.net/manual/en/mongodb-bson-decimal128.tostring.php
      */
     final public function __toString(): string {}
 
-    public static function __set_state(array $properties) {}
+    public static function __set_state(array $properties): self {}
 
     /**
-     * Serialize a Decimal128
-     * @since 1.2.0
-     * @link https://www.php.net/manual/en/mongodb-bson-decimal128.serialize.php
-     * @return string
-     * @throws InvalidArgumentException
-     */
-    final public function serialize(): string {}
-
-    /**
-     * Unserialize a Decimal128
-     * @since 1.2.0
-     * @link https://www.php.net/manual/en/mongodb-bson-decimal128.unserialize.php
-     * @throws InvalidArgumentException on argument parsing errors or if the properties are invalid
-     * @throws UnexpectedValueException if the properties cannot be unserialized (i.e. serialized was malformed)
-     */
-    final public function unserialize(string $data): void {}
-
-    /**
      * Returns a representation that can be converted to JSON
      * @since 1.2.0
      * @link https://www.php.net/manual/en/mongodb-bson-decimal128.jsonserialize.php
      * @return mixed data which can be serialized by json_encode()
      * @throws InvalidArgumentException on argument parsing errors
      */
-    final public function jsonSerialize() {}
+    final public function jsonSerialize(): mixed {}
 }