Completed
Push — development ( 9e3728...14ea30 )
by Thomas
20s queued 12s
created
local/devel/Repositories/CoordinatesRepository.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
     }
@@ -195,17 +195,17 @@  discard block
 block discarded – undo
195 195
     public function getEntityFromDatabaseArray(array $data)
196 196
     {
197 197
         $entity = new CoordinatesEntity();
198
-        $entity->id = (int) $data['id'];
198
+        $entity->id = (int)$data['id'];
199 199
         $entity->dateCreated = new DateTime($data['date_created']);
200 200
         $entity->lastModified = new DateTime($data['last_modified']);
201
-        $entity->type = (int) $data['type'];
202
-        $entity->subtype = (int) $data['subtype'];
201
+        $entity->type = (int)$data['type'];
202
+        $entity->subtype = (int)$data['subtype'];
203 203
         $entity->latitude = $data['latitude'];
204 204
         $entity->longitude = $data['longitude'];
205
-        $entity->cacheId = (int) $data['cache_id'];
206
-        $entity->userId = (int) $data['user_id'];
207
-        $entity->logId = (int) $data['log_id'];
208
-        $entity->description = (string) $data['description'];
205
+        $entity->cacheId = (int)$data['cache_id'];
206
+        $entity->userId = (int)$data['user_id'];
207
+        $entity->logId = (int)$data['log_id'];
208
+        $entity->description = (string)$data['description'];
209 209
 
210 210
         return $entity;
211 211
     }
Please login to merge, or discard this patch.
local/devel/Repositories/ReplicationNotimportedRepository.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
     }
@@ -187,9 +187,9 @@  discard block
 block discarded – undo
187 187
     public function getEntityFromDatabaseArray(array $data)
188 188
     {
189 189
         $entity = new ReplicationNotimportedEntity();
190
-        $entity->id = (int) $data['id'];
191
-        $entity->objectUuid = (string) $data['object_uuid'];
192
-        $entity->objectType = (int) $data['object_type'];
190
+        $entity->id = (int)$data['id'];
191
+        $entity->objectUuid = (string)$data['object_uuid'];
192
+        $entity->objectType = (int)$data['object_type'];
193 193
 
194 194
         return $entity;
195 195
     }
Please login to merge, or discard this patch.
local/devel/Repositories/CacheStatusModifiedRepository.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->cacheId = (int) $this->connection->lastInsertId();
124
+        $entity->cacheId = (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 GeoCacheStatusModifiedEntity();
192
-        $entity->cacheId = (int) $data['cache_id'];
192
+        $entity->cacheId = (int)$data['cache_id'];
193 193
         $entity->dateModified = new DateTime($data['date_modified']);
194
-        $entity->oldState = (int) $data['old_state'];
195
-        $entity->newState = (int) $data['new_state'];
196
-        $entity->userId = (int) $data['user_id'];
194
+        $entity->oldState = (int)$data['old_state'];
195
+        $entity->newState = (int)$data['new_state'];
196
+        $entity->userId = (int)$data['user_id'];
197 197
 
198 198
         return $entity;
199 199
     }
Please login to merge, or discard this patch.
local/devel/Repositories/CacheIgnoreRepository.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->cacheId = (int) $this->connection->lastInsertId();
124
+        $entity->cacheId = (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 GeoCacheIgnoreEntity();
189
-        $entity->cacheId = (int) $data['cache_id'];
190
-        $entity->userId = (int) $data['user_id'];
189
+        $entity->cacheId = (int)$data['cache_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/GeodbTextdataRepository.php 1 patch
Spacing   +7 added lines, -7 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
     }
@@ -194,16 +194,16 @@  discard block
 block discarded – undo
194 194
     public function getEntityFromDatabaseArray(array $data)
195 195
     {
196 196
         $entity = new GeodbTextdataEntity();
197
-        $entity->locId = (int) $data['loc_id'];
198
-        $entity->textVal = (string) $data['text_val'];
199
-        $entity->textType = (int) $data['text_type'];
200
-        $entity->textLocale = (string) $data['text_locale'];
197
+        $entity->locId = (int)$data['loc_id'];
198
+        $entity->textVal = (string)$data['text_val'];
199
+        $entity->textType = (int)$data['text_type'];
200
+        $entity->textLocale = (string)$data['text_locale'];
201 201
         $entity->isNativeLang = $data['is_native_lang'];
202 202
         $entity->isDefaultName = $data['is_default_name'];
203 203
         $entity->validSince = new DateTime($data['valid_since']);
204
-        $entity->dateTypeSince = (int) $data['date_type_since'];
204
+        $entity->dateTypeSince = (int)$data['date_type_since'];
205 205
         $entity->validUntil = new DateTime($data['valid_until']);
206
-        $entity->dateTypeUntil = (int) $data['date_type_until'];
206
+        $entity->dateTypeUntil = (int)$data['date_type_until'];
207 207
 
208 208
         return $entity;
209 209
     }
Please login to merge, or discard this patch.
local/devel/Repositories/FieldNoteRepository.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
     }
@@ -190,12 +190,12 @@  discard block
 block discarded – undo
190 190
     public function getEntityFromDatabaseArray(array $data)
191 191
     {
192 192
         $entity = new FieldNoteEntity();
193
-        $entity->id = (int) $data['id'];
194
-        $entity->userId = (int) $data['user_id'];
195
-        $entity->geocacheId = (int) $data['geocache_id'];
193
+        $entity->id = (int)$data['id'];
194
+        $entity->userId = (int)$data['user_id'];
195
+        $entity->geocacheId = (int)$data['geocache_id'];
196 196
         $entity->type = $data['type'];
197 197
         $entity->date = new DateTime($data['date']);
198
-        $entity->text = (string) $data['text'];
198
+        $entity->text = (string)$data['text'];
199 199
 
200 200
         return $entity;
201 201
     }
Please login to merge, or discard this patch.
local/devel/Repositories/GnsSearchRepository.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->uniId = (int) $this->connection->lastInsertId();
124
+        $entity->uniId = (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 GnsSearchEntity();
191
-        $entity->uniId = (int) $data['uni_id'];
192
-        $entity->sort = (string) $data['sort'];
193
-        $entity->simple = (string) $data['simple'];
194
-        $entity->simplehash = (int) $data['simplehash'];
191
+        $entity->uniId = (int)$data['uni_id'];
192
+        $entity->sort = (string)$data['sort'];
193
+        $entity->simple = (string)$data['simple'];
194
+        $entity->simplehash = (int)$data['simplehash'];
195 195
 
196 196
         return $entity;
197 197
     }
Please login to merge, or discard this patch.
local/devel/Repositories/CachesRepository.php 1 patch
Spacing   +26 added lines, -26 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
     }
@@ -220,41 +220,41 @@  discard block
 block discarded – undo
220 220
     public function getEntityFromDatabaseArray(array $data)
221 221
     {
222 222
         $entity = new GeoCachesEntity();
223
-        $entity->cacheId = (int) $data['cache_id'];
224
-        $entity->uuid = (string) $data['uuid'];
225
-        $entity->node = (int) $data['node'];
223
+        $entity->cacheId = (int)$data['cache_id'];
224
+        $entity->uuid = (string)$data['uuid'];
225
+        $entity->node = (int)$data['node'];
226 226
         $entity->dateCreated = new DateTime($data['date_created']);
227
-        $entity->isPublishdate = (int) $data['is_publishdate'];
227
+        $entity->isPublishdate = (int)$data['is_publishdate'];
228 228
         $entity->lastModified = new DateTime($data['last_modified']);
229
-        $entity->okapiSyncbase = (string) $data['okapi_syncbase'];
229
+        $entity->okapiSyncbase = (string)$data['okapi_syncbase'];
230 230
         $entity->listingLastModified = new DateTime($data['listing_last_modified']);
231 231
         $entity->metaLastModified = new DateTime($data['meta_last_modified']);
232
-        $entity->userId = (int) $data['user_id'];
233
-        $entity->name = (string) $data['name'];
232
+        $entity->userId = (int)$data['user_id'];
233
+        $entity->name = (string)$data['name'];
234 234
         $entity->longitude = $data['longitude'];
235 235
         $entity->latitude = $data['latitude'];
236
-        $entity->type = (int) $data['type'];
237
-        $entity->status = (int) $data['status'];
238
-        $entity->country = (string) $data['country'];
236
+        $entity->type = (int)$data['type'];
237
+        $entity->status = (int)$data['status'];
238
+        $entity->country = (string)$data['country'];
239 239
         $entity->dateHidden = new DateTime($data['date_hidden']);
240
-        $entity->size = (int) $data['size'];
241
-        $entity->difficulty = (int) $data['difficulty'];
242
-        $entity->terrain = (int) $data['terrain'];
243
-        $entity->logpw = (string) $data['logpw'];
240
+        $entity->size = (int)$data['size'];
241
+        $entity->difficulty = (int)$data['difficulty'];
242
+        $entity->terrain = (int)$data['terrain'];
243
+        $entity->logpw = (string)$data['logpw'];
244 244
         $entity->searchTime = $data['search_time'];
245 245
         $entity->wayLength = $data['way_length'];
246
-        $entity->wpGc = (string) $data['wp_gc'];
247
-        $entity->wpGcMaintained = (string) $data['wp_gc_maintained'];
248
-        $entity->wpNc = (string) $data['wp_nc'];
249
-        $entity->wpOc = (string) $data['wp_oc'];
250
-        $entity->descLanguages = (string) $data['desc_languages'];
251
-        $entity->defaultDesclang = (string) $data['default_desclang'];
246
+        $entity->wpGc = (string)$data['wp_gc'];
247
+        $entity->wpGcMaintained = (string)$data['wp_gc_maintained'];
248
+        $entity->wpNc = (string)$data['wp_nc'];
249
+        $entity->wpOc = (string)$data['wp_oc'];
250
+        $entity->descLanguages = (string)$data['desc_languages'];
251
+        $entity->defaultDesclang = (string)$data['default_desclang'];
252 252
         $entity->dateActivate = new DateTime($data['date_activate']);
253
-        $entity->needNpaRecalc = (int) $data['need_npa_recalc'];
254
-        $entity->showCachelists = (int) $data['show_cachelists'];
255
-        $entity->protectOldCoords = (int) $data['protect_old_coords'];
256
-        $entity->needsMaintenance = (int) $data['needs_maintenance'];
257
-        $entity->listingOutdated = (int) $data['listing_outdated'];
253
+        $entity->needNpaRecalc = (int)$data['need_npa_recalc'];
254
+        $entity->showCachelists = (int)$data['show_cachelists'];
255
+        $entity->protectOldCoords = (int)$data['protect_old_coords'];
256
+        $entity->needsMaintenance = (int)$data['needs_maintenance'];
257
+        $entity->listingOutdated = (int)$data['listing_outdated'];
258 258
         $entity->flagsLastModified = new DateTime($data['flags_last_modified']);
259 259
 
260 260
         return $entity;
Please login to merge, or discard this patch.
local/devel/Repositories/CacheWatchesRepository.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->cacheId = (int) $this->connection->lastInsertId();
124
+        $entity->cacheId = (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 GeoCacheWatchesEntity();
189
-        $entity->cacheId = (int) $data['cache_id'];
190
-        $entity->userId = (int) $data['user_id'];
189
+        $entity->cacheId = (int)$data['cache_id'];
190
+        $entity->userId = (int)$data['user_id'];
191 191
 
192 192
         return $entity;
193 193
     }
Please login to merge, or discard this patch.