mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 00:36:38 +00:00
Update DatatypeTrait.php
This commit is contained in:
@@ -23,11 +23,7 @@ trait DatatypeTrait {
|
||||
* @return string|false
|
||||
*/
|
||||
private function getMostFrequentDataypeForColumn($datatypes) {
|
||||
array_filter($datatypes);
|
||||
|
||||
foreach ($datatypes as $value) {
|
||||
echo gettype($value), "\n";
|
||||
}
|
||||
array_filter($datatypes);
|
||||
|
||||
// workaround because array_count_values($datatypes) does not work anymore :-(
|
||||
foreach ($datatypes as $type) {
|
||||
|
||||
Reference in New Issue
Block a user