Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik committed Mar 20, 2024
1 parent f9ec77d commit a712712
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,10 +289,6 @@ public function getPdoType($data)
];
$type = gettype($data);

if (!isset($typeMap[$type])) {
var_dump($type);
}

return isset($typeMap[$type]) ? $typeMap[$type] : \PDO::PARAM_STR;
}

Expand Down Expand Up @@ -543,7 +539,7 @@ protected function loadColumnSchema($info)
$column->isField = ($type === 'field');
$column->isAttribute = !$column->isField;

$column->isMva = ($type === 'mva');
$column->isMva = $type === 'mva' || $type === 'uint_set';

$column->phpType = $this->getColumnPhpType($column);

Expand Down

0 comments on commit a712712

Please sign in to comment.