File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
src/Type/Doctrine/Descriptors Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 44
55use Doctrine \DBAL \Connection ;
66use PHPStan \Doctrine \Driver \DriverDetector ;
7- use PHPStan \Type \Accessory \AccessoryNumericStringType ;
87use PHPStan \Type \FloatType ;
98use PHPStan \Type \IntegerType ;
10- use PHPStan \Type \IntersectionType ;
119use PHPStan \Type \StringType ;
1210use PHPStan \Type \Type ;
1311use PHPStan \Type \TypeCombinator ;
@@ -58,10 +56,7 @@ public function getDatabaseInternalTypeForDriver(Connection $connection): Type
5856 DriverDetector::PGSQL ,
5957 DriverDetector::PDO_PGSQL ,
6058 ], true )) {
61- return new IntersectionType ([
62- new StringType (),
63- new AccessoryNumericStringType (),
64- ]);
59+ return (new FloatType ())->toString ();
6560 }
6661
6762 // not yet supported driver, return the old implementation guess
You can’t perform that action at this time.
0 commit comments