Skip to content

Commit

Permalink
CS Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorkmaz committed Jan 20, 2017
1 parent 8267f7b commit 9e2beb3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
1 change: 0 additions & 1 deletion src/DataType/Boolean.php
Expand Up @@ -4,7 +4,6 @@
namespace Selami\Entity\DataType;

use Selami\Entity\Interfaces\DataTypeInterface;
use InvalidArgumentException;

class Boolean implements DataTypeInterface
{
Expand Down
13 changes: 0 additions & 13 deletions src/DataType/Double.php
Expand Up @@ -4,7 +4,6 @@
namespace Selami\Entity\DataType;

use Selami\Entity\Interfaces\DataTypeInterface;
use InvalidArgumentException;

class Double implements DataTypeInterface
{
Expand All @@ -27,16 +26,4 @@ public function assert()
}
return true;
}
/**
* {@inheritdoc}
*/
public function normalize()
{
try {
$this->assert();
return (float) $this->datum;
} catch (InvalidArgumentException $e) {
return (float) $this->options['default'];
}
}
}

0 comments on commit 9e2beb3

Please sign in to comment.