private function getType(string $doctrineType) : string { if (DBALType::DECIMAL === $doctrineType) { return 'string'; } if (DBALType::FLOAT === $doctrineType) { return 'float'; } return 'int'; }