@@ -379,11 +379,11 @@ discard block |
||
379 | 379 | |
380 | 380 | // limit |
381 | 381 | if ($this->limit !== null) { |
382 | - $query .= ' LIMIT ' . (int)$this->limit; |
|
382 | + $query .= ' LIMIT ' . (int) $this->limit; |
|
383 | 383 | |
384 | 384 | // offset |
385 | 385 | if ($this->offset !== null) { |
386 | - $query .= ' OFFSET ' . (int)$this->offset; |
|
386 | + $query .= ' OFFSET ' . (int) $this->offset; |
|
387 | 387 | } |
388 | 388 | } |
389 | 389 | |
@@ -444,6 +444,6 @@ discard block |
||
444 | 444 | $count = $this->findColumn(); |
445 | 445 | $this->select = $select; |
446 | 446 | |
447 | - return $count === null ? null : (int)$count; |
|
447 | + return $count === null ? null : (int) $count; |
|
448 | 448 | } |
449 | 449 | } |
@@ -77,9 +77,9 @@ discard block |
||
77 | 77 | } elseif ($value === null) { |
78 | 78 | return 'NULL'; |
79 | 79 | } elseif (is_int($value)) { |
80 | - return (int)$value; |
|
80 | + return (int) $value; |
|
81 | 81 | } elseif (is_float($value)) { |
82 | - return (float)$value; |
|
82 | + return (float) $value; |
|
83 | 83 | } |
84 | 84 | return $dbh->quote($value); |
85 | 85 | } |
@@ -97,12 +97,12 @@ discard block |
||
97 | 97 | |
98 | 98 | if (static::isMySQL($dbh)) { |
99 | 99 | // mysql mode |
100 | - return function ($identifier) { |
|
100 | + return function($identifier) { |
|
101 | 101 | return '`' . str_replace('`', '``', $identifier) . '`'; |
102 | 102 | }; |
103 | 103 | } else { |
104 | 104 | // standard sql mode |
105 | - return function ($identifier) { |
|
105 | + return function($identifier) { |
|
106 | 106 | return '"' . str_replace('"', '""', $identifier) . '"'; |
107 | 107 | }; |
108 | 108 | } |