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