@@ -981,10 +981,10 @@ discard block |
||
981 | 981 | if ($result !== false && isset($result->$alias)) { |
982 | 982 | if (!is_numeric($result->$alias)) { |
983 | 983 | $return_value = $result->$alias; |
984 | - } elseif ((int)$result->$alias == (float)$result->$alias) { |
|
985 | - $return_value = (int)$result->$alias; |
|
984 | + } elseif ((int) $result->$alias == (float) $result->$alias) { |
|
985 | + $return_value = (int) $result->$alias; |
|
986 | 986 | } else { |
987 | - $return_value = (float)$result->$alias; |
|
987 | + $return_value = (float) $result->$alias; |
|
988 | 988 | } |
989 | 989 | } |
990 | 990 | |
@@ -2471,7 +2471,7 @@ discard block |
||
2471 | 2471 | $fragment = 'LIMIT'; |
2472 | 2472 | } |
2473 | 2473 | |
2474 | - $this->_limit = (int)$this->_limit; |
|
2474 | + $this->_limit = (int) $this->_limit; |
|
2475 | 2475 | |
2476 | 2476 | $fragment .= " {$this->_limit}"; |
2477 | 2477 | } |
@@ -2490,7 +2490,7 @@ discard block |
||
2490 | 2490 | $clause = 'TO'; |
2491 | 2491 | } |
2492 | 2492 | |
2493 | - $this->_offset = (int)$this->_offset; |
|
2493 | + $this->_offset = (int) $this->_offset; |
|
2494 | 2494 | |
2495 | 2495 | return "$clause " . $this->_offset; |
2496 | 2496 | } |
@@ -3093,8 +3093,7 @@ discard block |
||
3093 | 3093 | |
3094 | 3094 | return static::_execute( |
3095 | 3095 | join(" ", $query), is_array($this->id(true)) ? |
3096 | - array_values($this->id(true)) : |
|
3097 | - array($this->id(true)), $this->_connection_name |
|
3096 | + array_values($this->id(true)) : array($this->id(true)), $this->_connection_name |
|
3098 | 3097 | ); |
3099 | 3098 | } |
3100 | 3099 |