Skip to content

Commit

Permalink
Fixed Float class name for future (php 7) support
Browse files Browse the repository at this point in the history
  • Loading branch information
silvamfilipe committed Aug 6, 2015
1 parent d3cc7cc commit da53565
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
namespace Slick\Database\Sql\Ddl\Column;

/**
* Float type column
* Decimal type column
*
* @package Slick\Database\Sql\Ddl\Column
* @author Filipe Silva <silvam.filipe@gmail.com>
*/
class Float extends AbstractColumn
class Decimal extends AbstractColumn
{

/**
Expand All @@ -29,7 +29,7 @@ class Float extends AbstractColumn
protected $decimal;

/**
* Creates a float type column
* Creates a decimal type column
*
* @param string $name
* @param int $digits
Expand Down
2 changes: 1 addition & 1 deletion tests/Database/Sql/Ddl/Column/FloatTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

use PHPUnit_Framework_TestCase as TestCase;

use Slick\Database\Sql\Ddl\Column\Float as FloatColumn;
use Slick\Database\Sql\Ddl\Column\Decimal as FloatColumn;

/**
* Float column test case
Expand Down

0 comments on commit da53565

Please sign in to comment.