@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | * |
| 15 | 15 | * @return Numeric |
| 16 | 16 | */ |
| 17 | - public function toFloat () { |
|
| 17 | + public function toFloat() { |
|
| 18 | 18 | if ($this->db->getDriver() === 'sqlite') { |
| 19 | 19 | return new Numeric($this->db, "CAST({$this} AS REAL)"); |
| 20 | 20 | } |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | * |
| 27 | 27 | * @return Numeric |
| 28 | 28 | */ |
| 29 | - public function toInt () { |
|
| 29 | + public function toInt() { |
|
| 30 | 30 | if ($this->db->getDriver() === 'sqlite') { |
| 31 | 31 | return new Numeric($this->db, "CAST({$this} AS INTEGER)"); |
| 32 | 32 | } |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | * |
| 15 | 15 | * @return Text |
| 16 | 16 | */ |
| 17 | - public function toText () { |
|
| 17 | + public function toText() { |
|
| 18 | 18 | if ($this->db->getDriver() === 'sqlite') { |
| 19 | 19 | return new Text($this->db, "CAST({$this} AS TEXT)"); |
| 20 | 20 | } |