diff --git a/src/OtherObject/SinglePrecisionFloatObject.php b/src/OtherObject/SinglePrecisionFloatObject.php index a5a44fb..cc3d622 100644 --- a/src/OtherObject/SinglePrecisionFloatObject.php +++ b/src/OtherObject/SinglePrecisionFloatObject.php @@ -30,7 +30,7 @@ public static function createFromFloat(float $number): self ))(), }; - return new self(self::OBJECT_DOUBLE_PRECISION_FLOAT, $value); + return new self(self::OBJECT_SINGLE_PRECISION_FLOAT, $value); } public static function createFromLoadedData(int $additionalInformation, ?string $data): Base