Skip to content

Commit

Permalink
remove unused constants
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Nov 29, 2014
1 parent ec1af6f commit 8bda65d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions library/PSX/Data/Record/Importer/Table.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,20 +80,14 @@ protected function convertType($data, $type)

switch($type)
{
case TableInterface::TYPE_TINYINT:
case TableInterface::TYPE_SMALLINT:
case TableInterface::TYPE_MEDIUMINT:
case TableInterface::TYPE_INT:
case TableInterface::TYPE_BIGINT:
case TableInterface::TYPE_BIT:
case TableInterface::TYPE_SERIAL:
return (int) $data;
break;

case TableInterface::TYPE_DECIMAL:
case TableInterface::TYPE_FLOAT:
case TableInterface::TYPE_DOUBLE:
case TableInterface::TYPE_REAL:
return (float) $data;
break;

Expand Down

0 comments on commit 8bda65d

Please sign in to comment.