Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
- added AbstractColumn::getSize() typecasting
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy-j committed Jan 14, 2020
1 parent 16ab77e commit b6fc56c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ CHANGELOG for 0.9.0 RC

2.7.1 (14.01.2020)
-----
- added AbstractColumn::getSize() typecasting
- added the ability to serialize and de-serialize fragments and expressions

2.7.0 (13.01.2020)
Expand Down
6 changes: 3 additions & 3 deletions src/Schema/AbstractColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,23 +329,23 @@ public function __debugInfo()
*/
public function getSize(): int
{
return $this->size;
return (int)$this->size;
}

/**
* {@inheritdoc}
*/
public function getPrecision(): int
{
return $this->precision;
return (int)$this->precision;
}

/**
* {@inheritdoc}
*/
public function getScale(): int
{
return $this->scale;
return (int)$this->scale;
}

/**
Expand Down

0 comments on commit b6fc56c

Please sign in to comment.