Skip to content

Commit e2ccce1

Browse files
Another try
1 parent f8e725d commit e2ccce1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Type/Doctrine/Descriptors/FloatType.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,7 @@ public function getDatabaseInternalType(): Type
4242
{
4343
return TypeCombinator::union(
4444
new \PHPStan\Type\FloatType(),
45-
new IntersectionType([
46-
new StringType(),
47-
new AccessoryNumericStringType(),
48-
])
45+
(new \PHPStan\Type\FloatType())->toString()
4946
);
5047
}
5148

0 commit comments

Comments
 (0)