protected function isPrecisionType($type) { $type = strtolower(trim($type)); return $type === 'decimal' || $type === 'dec' || $type === 'float' || $type === 'double' || $type === 'double precision' || $type === 'real'; }