Completed
Push — development ( 9e3728...14ea30 )
by Thomas
20s queued 12s
created
local/devel/Repositories/CacheSizeRepository.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->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 GeoCacheSizeEntity();
193
-        $entity->id = (int) $data['id'];
194
-        $entity->name = (string) $data['name'];
195
-        $entity->transId = (int) $data['trans_id'];
196
-        $entity->ordinal = (int) $data['ordinal'];
197
-        $entity->de = (string) $data['de'];
198
-        $entity->en = (string) $data['en'];
193
+        $entity->id = (int)$data['id'];
194
+        $entity->name = (string)$data['name'];
195
+        $entity->transId = (int)$data['trans_id'];
196
+        $entity->ordinal = (int)$data['ordinal'];
197
+        $entity->de = (string)$data['de'];
198
+        $entity->en = (string)$data['en'];
199 199
 
200 200
         return $entity;
201 201
     }
Please login to merge, or discard this patch.
local/devel/Repositories/OkapiVarsRepository.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->var = (int) $this->connection->lastInsertId();
124
+        $entity->var = (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 OkapiVarsEntity();
189
-        $entity->var = (string) $data['var'];
190
-        $entity->value = (string) $data['value'];
189
+        $entity->var = (string)$data['var'];
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/GeodbFloatdataRepository.php 1 patch
Spacing   +6 added lines, -6 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
     }
@@ -192,14 +192,14 @@  discard block
 block discarded – undo
192 192
     public function getEntityFromDatabaseArray(array $data)
193 193
     {
194 194
         $entity = new GeodbFloatdataEntity();
195
-        $entity->locId = (int) $data['loc_id'];
195
+        $entity->locId = (int)$data['loc_id'];
196 196
         $entity->floatVal = $data['float_val'];
197
-        $entity->floatType = (int) $data['float_type'];
198
-        $entity->floatSubtype = (int) $data['float_subtype'];
197
+        $entity->floatType = (int)$data['float_type'];
198
+        $entity->floatSubtype = (int)$data['float_subtype'];
199 199
         $entity->validSince = new DateTime($data['valid_since']);
200
-        $entity->dateTypeSince = (int) $data['date_type_since'];
200
+        $entity->dateTypeSince = (int)$data['date_type_since'];
201 201
         $entity->validUntil = new DateTime($data['valid_until']);
202
-        $entity->dateTypeUntil = (int) $data['date_type_until'];
202
+        $entity->dateTypeUntil = (int)$data['date_type_until'];
203 203
 
204 204
         return $entity;
205 205
     }
Please login to merge, or discard this patch.
local/devel/Repositories/StatpicsRepository.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->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 StatpicsEntity();
193
-        $entity->id = (int) $data['id'];
194
-        $entity->tplpath = (string) $data['tplpath'];
195
-        $entity->previewpath = (string) $data['previewpath'];
196
-        $entity->description = (string) $data['description'];
197
-        $entity->transId = (int) $data['trans_id'];
198
-        $entity->maxtextwidth = (int) $data['maxtextwidth'];
193
+        $entity->id = (int)$data['id'];
194
+        $entity->tplpath = (string)$data['tplpath'];
195
+        $entity->previewpath = (string)$data['previewpath'];
196
+        $entity->description = (string)$data['description'];
197
+        $entity->transId = (int)$data['trans_id'];
198
+        $entity->maxtextwidth = (int)$data['maxtextwidth'];
199 199
 
200 200
         return $entity;
201 201
     }
Please login to merge, or discard this patch.
local/devel/Repositories/CacheRatingRepository.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
     }
@@ -187,8 +187,8 @@  discard block
 block discarded – undo
187 187
     public function getEntityFromDatabaseArray(array $data)
188 188
     {
189 189
         $entity = new GeoCacheRatingEntity();
190
-        $entity->cacheId = (int) $data['cache_id'];
191
-        $entity->userId = (int) $data['user_id'];
190
+        $entity->cacheId = (int)$data['cache_id'];
191
+        $entity->userId = (int)$data['user_id'];
192 192
         $entity->ratingDate = new DateTime($data['rating_date']);
193 193
 
194 194
         return $entity;
Please login to merge, or discard this patch.
local/devel/Repositories/UserStatpicRepository.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 UserStatpicEntity();
190
-        $entity->userId = (int) $data['user_id'];
191
-        $entity->lang = (string) $data['lang'];
190
+        $entity->userId = (int)$data['user_id'];
191
+        $entity->lang = (string)$data['lang'];
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/CacheLogsRepository.php 1 patch
Spacing   +15 added lines, -15 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
     }
@@ -205,26 +205,26 @@  discard block
 block discarded – undo
205 205
     public function getEntityFromDatabaseArray(array $data)
206 206
     {
207 207
         $entity = new GeoCacheLogsEntity();
208
-        $entity->id = (int) $data['id'];
209
-        $entity->uuid = (string) $data['uuid'];
210
-        $entity->node = (int) $data['node'];
208
+        $entity->id = (int)$data['id'];
209
+        $entity->uuid = (string)$data['uuid'];
210
+        $entity->node = (int)$data['node'];
211 211
         $entity->dateCreated = new DateTime($data['date_created']);
212 212
         $entity->entryLastModified = new DateTime($data['entry_last_modified']);
213 213
         $entity->lastModified = new DateTime($data['last_modified']);
214
-        $entity->okapiSyncbase = (string) $data['okapi_syncbase'];
214
+        $entity->okapiSyncbase = (string)$data['okapi_syncbase'];
215 215
         $entity->logLastModified = new DateTime($data['log_last_modified']);
216
-        $entity->cacheId = (int) $data['cache_id'];
217
-        $entity->userId = (int) $data['user_id'];
218
-        $entity->type = (int) $data['type'];
219
-        $entity->ocTeamComment = (int) $data['oc_team_comment'];
216
+        $entity->cacheId = (int)$data['cache_id'];
217
+        $entity->userId = (int)$data['user_id'];
218
+        $entity->type = (int)$data['type'];
219
+        $entity->ocTeamComment = (int)$data['oc_team_comment'];
220 220
         $entity->date = new DateTime($data['date']);
221 221
         $entity->orderDate = new DateTime($data['order_date']);
222
-        $entity->needsMaintenance = (int) $data['needs_maintenance'];
223
-        $entity->listingOutdated = (int) $data['listing_outdated'];
224
-        $entity->text = (string) $data['text'];
225
-        $entity->textHtml = (int) $data['text_html'];
226
-        $entity->textHtmledit = (int) $data['text_htmledit'];
227
-        $entity->ownerNotified = (int) $data['owner_notified'];
222
+        $entity->needsMaintenance = (int)$data['needs_maintenance'];
223
+        $entity->listingOutdated = (int)$data['listing_outdated'];
224
+        $entity->text = (string)$data['text'];
225
+        $entity->textHtml = (int)$data['text_html'];
226
+        $entity->textHtmledit = (int)$data['text_htmledit'];
227
+        $entity->ownerNotified = (int)$data['owner_notified'];
228 228
         $entity->picture = $data['picture'];
229 229
 
230 230
         return $entity;
Please login to merge, or discard this patch.
local/devel/Repositories/StatCacheListsRepository.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->cacheListId = (int) $this->connection->lastInsertId();
124
+        $entity->cacheListId = (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 StatCacheListsEntity();
190
-        $entity->cacheListId = (int) $data['cache_list_id'];
191
-        $entity->entries = (int) $data['entries'];
192
-        $entity->watchers = (int) $data['watchers'];
190
+        $entity->cacheListId = (int)$data['cache_list_id'];
191
+        $entity->entries = (int)$data['entries'];
192
+        $entity->watchers = (int)$data['watchers'];
193 193
 
194 194
         return $entity;
195 195
     }
Please login to merge, or discard this patch.
local/devel/Repositories/CacheTypeRepository.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->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 GeoCacheTypeEntity();
198
-        $entity->id = (int) $data['id'];
199
-        $entity->name = (string) $data['name'];
200
-        $entity->transId = (int) $data['trans_id'];
201
-        $entity->ordinal = (int) $data['ordinal'];
202
-        $entity->short = (string) $data['short'];
203
-        $entity->de = (string) $data['de'];
204
-        $entity->en = (string) $data['en'];
205
-        $entity->iconLarge = (string) $data['icon_large'];
206
-        $entity->short2 = (string) $data['short2'];
207
-        $entity->short2TransId = (int) $data['short2_trans_id'];
208
-        $entity->kmlName = (string) $data['kml_name'];
198
+        $entity->id = (int)$data['id'];
199
+        $entity->name = (string)$data['name'];
200
+        $entity->transId = (int)$data['trans_id'];
201
+        $entity->ordinal = (int)$data['ordinal'];
202
+        $entity->short = (string)$data['short'];
203
+        $entity->de = (string)$data['de'];
204
+        $entity->en = (string)$data['en'];
205
+        $entity->iconLarge = (string)$data['icon_large'];
206
+        $entity->short2 = (string)$data['short2'];
207
+        $entity->short2TransId = (int)$data['short2_trans_id'];
208
+        $entity->kmlName = (string)$data['kml_name'];
209 209
 
210 210
         return $entity;
211 211
     }
Please login to merge, or discard this patch.