Completed
Push — next ( 8119eb...ae8da3 )
by Thomas
19s queued 12s
created
local/devel/Repositories/CacheListWatchesRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             $databaseArray
122 122
         );
123 123
 
124
-        $entity->cacheListId = (int) $this->connection->lastInsertId();
124
+        $entity->cacheListId = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -186,8 +186,8 @@  discard block
 block discarded – undo
186 186
     public function getEntityFromDatabaseArray(array $data)
187 187
     {
188 188
         $entity = new GeoCacheListWatchesEntity();
189
-        $entity->cacheListId = (int) $data['cache_list_id'];
190
-        $entity->userId = (int) $data['user_id'];
189
+        $entity->cacheListId = (int)$data['cache_list_id'];
190
+        $entity->userId = (int)$data['user_id'];
191 191
 
192 192
         return $entity;
193 193
     }
Please login to merge, or discard this patch.
local/devel/Repositories/CacheLogsRestoredRepository.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             $databaseArray
122 122
         );
123 123
 
124
-        $entity->id = (int) $this->connection->lastInsertId();
124
+        $entity->id = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -189,11 +189,11 @@  discard block
 block discarded – undo
189 189
     public function getEntityFromDatabaseArray(array $data)
190 190
     {
191 191
         $entity = new GeoCacheLogsRestoredEntity();
192
-        $entity->id = (int) $data['id'];
192
+        $entity->id = (int)$data['id'];
193 193
         $entity->dateModified = new DateTime($data['date_modified']);
194
-        $entity->cacheId = (int) $data['cache_id'];
195
-        $entity->originalId = (int) $data['original_id'];
196
-        $entity->restoredBy = (int) $data['restored_by'];
194
+        $entity->cacheId = (int)$data['cache_id'];
195
+        $entity->originalId = (int)$data['original_id'];
196
+        $entity->restoredBy = (int)$data['restored_by'];
197 197
 
198 198
         return $entity;
199 199
     }
Please login to merge, or discard this patch.
local/devel/Repositories/LanguagesListDefaultRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             $databaseArray
122 122
         );
123 123
 
124
-        $entity->lang = (int) $this->connection->lastInsertId();
124
+        $entity->lang = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -186,8 +186,8 @@  discard block
 block discarded – undo
186 186
     public function getEntityFromDatabaseArray(array $data)
187 187
     {
188 188
         $entity = new LanguagesListDefaultEntity();
189
-        $entity->lang = (string) $data['lang'];
190
-        $entity->show = (string) $data['show'];
189
+        $entity->lang = (string)$data['lang'];
190
+        $entity->show = (string)$data['show'];
191 191
 
192 192
         return $entity;
193 193
     }
Please login to merge, or discard this patch.
local/devel/Repositories/CacheReportsRepository.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             $databaseArray
122 122
         );
123 123
 
124
-        $entity->id = (int) $this->connection->lastInsertId();
124
+        $entity->id = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -194,16 +194,16 @@  discard block
 block discarded – undo
194 194
     public function getEntityFromDatabaseArray(array $data)
195 195
     {
196 196
         $entity = new GeoCacheReportsEntity();
197
-        $entity->id = (int) $data['id'];
197
+        $entity->id = (int)$data['id'];
198 198
         $entity->dateCreated = new DateTime($data['date_created']);
199
-        $entity->cacheid = (int) $data['cacheid'];
200
-        $entity->userid = (int) $data['userid'];
201
-        $entity->reason = (int) $data['reason'];
202
-        $entity->note = (string) $data['note'];
203
-        $entity->status = (int) $data['status'];
204
-        $entity->adminid = (int) $data['adminid'];
205
-        $entity->lastmodified = (string) $data['lastmodified'];
206
-        $entity->comment = (string) $data['comment'];
199
+        $entity->cacheid = (int)$data['cacheid'];
200
+        $entity->userid = (int)$data['userid'];
201
+        $entity->reason = (int)$data['reason'];
202
+        $entity->note = (string)$data['note'];
203
+        $entity->status = (int)$data['status'];
204
+        $entity->adminid = (int)$data['adminid'];
205
+        $entity->lastmodified = (string)$data['lastmodified'];
206
+        $entity->comment = (string)$data['comment'];
207 207
 
208 208
         return $entity;
209 209
     }
Please login to merge, or discard this patch.
local/devel/Repositories/UserOptionsRepository.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             $databaseArray
122 122
         );
123 123
 
124
-        $entity->userId = (int) $this->connection->lastInsertId();
124
+        $entity->userId = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -188,10 +188,10 @@  discard block
 block discarded – undo
188 188
     public function getEntityFromDatabaseArray(array $data)
189 189
     {
190 190
         $entity = new UserOptionsEntity();
191
-        $entity->userId = (int) $data['user_id'];
192
-        $entity->optionId = (int) $data['option_id'];
193
-        $entity->optionVisible = (int) $data['option_visible'];
194
-        $entity->optionValue = (string) $data['option_value'];
191
+        $entity->userId = (int)$data['user_id'];
192
+        $entity->optionId = (int)$data['option_id'];
193
+        $entity->optionVisible = (int)$data['option_visible'];
194
+        $entity->optionValue = (string)$data['option_value'];
195 195
 
196 196
         return $entity;
197 197
     }
Please login to merge, or discard this patch.
local/devel/Repositories/CachesModifiedRepository.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             $databaseArray
122 122
         );
123 123
 
124
-        $entity->cacheId = (int) $this->connection->lastInsertId();
124
+        $entity->cacheId = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -197,19 +197,19 @@  discard block
 block discarded – undo
197 197
     public function getEntityFromDatabaseArray(array $data)
198 198
     {
199 199
         $entity = new GeoCachesModifiedEntity();
200
-        $entity->cacheId = (int) $data['cache_id'];
200
+        $entity->cacheId = (int)$data['cache_id'];
201 201
         $entity->dateModified = new DateTime($data['date_modified']);
202
-        $entity->name = (string) $data['name'];
203
-        $entity->type = (int) $data['type'];
202
+        $entity->name = (string)$data['name'];
203
+        $entity->type = (int)$data['type'];
204 204
         $entity->dateHidden = new DateTime($data['date_hidden']);
205
-        $entity->size = (int) $data['size'];
206
-        $entity->difficulty = (int) $data['difficulty'];
207
-        $entity->terrain = (int) $data['terrain'];
205
+        $entity->size = (int)$data['size'];
206
+        $entity->difficulty = (int)$data['difficulty'];
207
+        $entity->terrain = (int)$data['terrain'];
208 208
         $entity->searchTime = $data['search_time'];
209 209
         $entity->wayLength = $data['way_length'];
210
-        $entity->wpGc = (string) $data['wp_gc'];
211
-        $entity->wpNc = (string) $data['wp_nc'];
212
-        $entity->restoredBy = (int) $data['restored_by'];
210
+        $entity->wpGc = (string)$data['wp_gc'];
211
+        $entity->wpNc = (string)$data['wp_nc'];
212
+        $entity->restoredBy = (int)$data['restored_by'];
213 213
 
214 214
         return $entity;
215 215
     }
Please login to merge, or discard this patch.
local/devel/Repositories/SysMenuRepository.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             $databaseArray
122 122
         );
123 123
 
124
-        $entity->id = (int) $this->connection->lastInsertId();
124
+        $entity->id = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -199,19 +199,19 @@  discard block
 block discarded – undo
199 199
     {
200 200
         $entity = new SysMenuEntity();
201 201
         $entity->id = $data['id'];
202
-        $entity->idString = (string) $data['id_string'];
203
-        $entity->title = (string) $data['title'];
204
-        $entity->titleTransId = (int) $data['title_trans_id'];
205
-        $entity->menustring = (string) $data['menustring'];
206
-        $entity->menustringTransId = (int) $data['menustring_trans_id'];
207
-        $entity->access = (int) $data['access'];
208
-        $entity->href = (string) $data['href'];
209
-        $entity->visible = (int) $data['visible'];
202
+        $entity->idString = (string)$data['id_string'];
203
+        $entity->title = (string)$data['title'];
204
+        $entity->titleTransId = (int)$data['title_trans_id'];
205
+        $entity->menustring = (string)$data['menustring'];
206
+        $entity->menustringTransId = (int)$data['menustring_trans_id'];
207
+        $entity->access = (int)$data['access'];
208
+        $entity->href = (string)$data['href'];
209
+        $entity->visible = (int)$data['visible'];
210 210
         $entity->parent = $data['parent'];
211
-        $entity->position = (int) $data['position'];
212
-        $entity->color = (string) $data['color'];
213
-        $entity->sitemap = (int) $data['sitemap'];
214
-        $entity->onlyIfParent = (int) $data['only_if_parent'];
211
+        $entity->position = (int)$data['position'];
212
+        $entity->color = (string)$data['color'];
213
+        $entity->sitemap = (int)$data['sitemap'];
214
+        $entity->onlyIfParent = (int)$data['only_if_parent'];
215 215
 
216 216
         return $entity;
217 217
     }
Please login to merge, or discard this patch.
local/devel/Repositories/UserDelegatesRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             $databaseArray
122 122
         );
123 123
 
124
-        $entity->userId = (int) $this->connection->lastInsertId();
124
+        $entity->userId = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -187,8 +187,8 @@  discard block
 block discarded – undo
187 187
     public function getEntityFromDatabaseArray(array $data)
188 188
     {
189 189
         $entity = new UserDelegatesEntity();
190
-        $entity->userId = (int) $data['user_id'];
191
-        $entity->node = (int) $data['node'];
190
+        $entity->userId = (int)$data['user_id'];
191
+        $entity->node = (int)$data['node'];
192 192
         $entity->dateCreated = new DateTime($data['date_created']);
193 193
 
194 194
         return $entity;
Please login to merge, or discard this patch.
local/devel/Repositories/SysReplSlavesRepository.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             $databaseArray
122 122
         );
123 123
 
124
-        $entity->id = (int) $this->connection->lastInsertId();
124
+        $entity->id = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -194,14 +194,14 @@  discard block
 block discarded – undo
194 194
     {
195 195
         $entity = new SysReplSlavesEntity();
196 196
         $entity->id = $data['id'];
197
-        $entity->server = (string) $data['server'];
198
-        $entity->active = (int) $data['active'];
199
-        $entity->weight = (int) $data['weight'];
200
-        $entity->online = (int) $data['online'];
197
+        $entity->server = (string)$data['server'];
198
+        $entity->active = (int)$data['active'];
199
+        $entity->weight = (int)$data['weight'];
200
+        $entity->online = (int)$data['online'];
201 201
         $entity->lastCheck = new DateTime($data['last_check']);
202
-        $entity->timeDiff = (int) $data['time_diff'];
203
-        $entity->currentLogName = (string) $data['current_log_name'];
204
-        $entity->currentLogPos = (int) $data['current_log_pos'];
202
+        $entity->timeDiff = (int)$data['time_diff'];
203
+        $entity->currentLogName = (string)$data['current_log_name'];
204
+        $entity->currentLogPos = (int)$data['current_log_pos'];
205 205
 
206 206
         return $entity;
207 207
     }
Please login to merge, or discard this patch.