Completed
Push — master ( d5e2fb...c58f57 )
by Lars
02:27
created
src/idiorm/orm/ORM.php 1 patch
Spacing   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -981,10 +981,10 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.