diff --git a/src/extensions/DatatypeTrait.php b/src/extensions/DatatypeTrait.php index c8cf46d..4e198cd 100644 --- a/src/extensions/DatatypeTrait.php +++ b/src/extensions/DatatypeTrait.php @@ -98,10 +98,6 @@ trait DatatypeTrait { $firstRowDatatype = array_map(DatatypeEnum::class . '::getValidTypeFromSample', $firstRow); - if ($this->getMostFrequentDatatypeForColumn($firstRowDatatype) !== DatatypeEnum::TYPE_STRING){ - return false; - } - - return true; + return $this->getMostFrequentDatatypeForColumn($firstRowDatatype) === DatatypeEnum::TYPE_STRING; } }