Update DatatypeTrait.php

This commit is contained in:
susgo
2018-02-19 12:07:32 +01:00
committed by GitHub
parent 52e87953a4
commit 2c7c552515

View File

@@ -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) {