Completed
Push — development ( 9e3728...14ea30 )
by Thomas
20s queued 12s
created
local/devel/Repositories/SysconfigRepository.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->name = (int) $this->connection->lastInsertId();
124
+        $entity->name = (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 SysconfigEntity();
189
-        $entity->name = (string) $data['name'];
190
-        $entity->value = (string) $data['value'];
189
+        $entity->name = (string)$data['name'];
190
+        $entity->value = (string)$data['value'];
191 191
 
192 192
         return $entity;
193 193
     }
Please login to merge, or discard this patch.
local/devel/Repositories/GeodbAreasRepository.php 1 patch
Spacing   +12 added lines, -12 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->locId = (int) $this->connection->lastInsertId();
124
+        $entity->locId = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -198,20 +198,20 @@  discard block
 block discarded – undo
198 198
     public function getEntityFromDatabaseArray(array $data)
199 199
     {
200 200
         $entity = new GeodbAreasEntity();
201
-        $entity->locId = (int) $data['loc_id'];
202
-        $entity->areaId = (int) $data['area_id'];
203
-        $entity->polygonId = (int) $data['polygon_id'];
204
-        $entity->polSeqNo = (int) $data['pol_seq_no'];
201
+        $entity->locId = (int)$data['loc_id'];
202
+        $entity->areaId = (int)$data['area_id'];
203
+        $entity->polygonId = (int)$data['polygon_id'];
204
+        $entity->polSeqNo = (int)$data['pol_seq_no'];
205 205
         $entity->excludeArea = $data['exclude_area'];
206
-        $entity->areaType = (int) $data['area_type'];
207
-        $entity->areaSubtype = (int) $data['area_subtype'];
208
-        $entity->coordType = (int) $data['coord_type'];
209
-        $entity->coordSubtype = (int) $data['coord_subtype'];
210
-        $entity->resolution = (int) $data['resolution'];
206
+        $entity->areaType = (int)$data['area_type'];
207
+        $entity->areaSubtype = (int)$data['area_subtype'];
208
+        $entity->coordType = (int)$data['coord_type'];
209
+        $entity->coordSubtype = (int)$data['coord_subtype'];
210
+        $entity->resolution = (int)$data['resolution'];
211 211
         $entity->validSince = new DateTime($data['valid_since']);
212
-        $entity->dateTypeSince = (int) $data['date_type_since'];
212
+        $entity->dateTypeSince = (int)$data['date_type_since'];
213 213
         $entity->validUntil = new DateTime($data['valid_until']);
214
-        $entity->dateTypeUntil = (int) $data['date_type_until'];
214
+        $entity->dateTypeUntil = (int)$data['date_type_until'];
215 215
 
216 216
         return $entity;
217 217
     }
Please login to merge, or discard this patch.
local/devel/Repositories/SysLoginsRepository.php 1 patch
Spacing   +4 added lines, -4 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
     }
@@ -188,10 +188,10 @@  discard block
 block discarded – undo
188 188
     public function getEntityFromDatabaseArray(array $data)
189 189
     {
190 190
         $entity = new SysLoginsEntity();
191
-        $entity->id = (int) $data['id'];
191
+        $entity->id = (int)$data['id'];
192 192
         $entity->dateCreated = new DateTime($data['date_created']);
193
-        $entity->remoteAddr = (string) $data['remote_addr'];
194
-        $entity->success = (int) $data['success'];
193
+        $entity->remoteAddr = (string)$data['remote_addr'];
194
+        $entity->success = (int)$data['success'];
195 195
 
196 196
         return $entity;
197 197
     }
Please login to merge, or discard this patch.
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.