Completed
Push — development ( d440e2...d59298 )
by Thomas
24:27 queued 10:42
created
local/devel/Repositories/XmlsessionRepository.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
     }
@@ -196,18 +196,18 @@  discard block
 block discarded – undo
196 196
     public function getEntityFromDatabaseArray(array $data)
197 197
     {
198 198
         $entity = new XmlsessionEntity();
199
-        $entity->id = (int) $data['id'];
199
+        $entity->id = (int)$data['id'];
200 200
         $entity->dateCreated = new DateTime($data['date_created']);
201 201
         $entity->lastUse = new DateTime($data['last_use']);
202
-        $entity->users = (int) $data['users'];
203
-        $entity->caches = (int) $data['caches'];
204
-        $entity->cachedescs = (int) $data['cachedescs'];
205
-        $entity->cachelogs = (int) $data['cachelogs'];
206
-        $entity->pictures = (int) $data['pictures'];
207
-        $entity->removedobjects = (int) $data['removedobjects'];
202
+        $entity->users = (int)$data['users'];
203
+        $entity->caches = (int)$data['caches'];
204
+        $entity->cachedescs = (int)$data['cachedescs'];
205
+        $entity->cachelogs = (int)$data['cachelogs'];
206
+        $entity->pictures = (int)$data['pictures'];
207
+        $entity->removedobjects = (int)$data['removedobjects'];
208 208
         $entity->modifiedSince = new DateTime($data['modified_since']);
209
-        $entity->cleaned = (int) $data['cleaned'];
210
-        $entity->agent = (string) $data['agent'];
209
+        $entity->cleaned = (int)$data['cleaned'];
210
+        $entity->agent = (string)$data['agent'];
211 211
 
212 212
         return $entity;
213 213
     }
Please login to merge, or discard this patch.
local/devel/Repositories/Map2ResultRepository.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->resultId = (int) $this->connection->lastInsertId();
124
+        $entity->resultId = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -192,12 +192,12 @@  discard block
 block discarded – undo
192 192
     public function getEntityFromDatabaseArray(array $data)
193 193
     {
194 194
         $entity = new Map2ResultEntity();
195
-        $entity->resultId = (int) $data['result_id'];
196
-        $entity->slaveId = (int) $data['slave_id'];
197
-        $entity->sqlchecksum = (int) $data['sqlchecksum'];
198
-        $entity->sqlquery = (string) $data['sqlquery'];
199
-        $entity->sharedCounter = (int) $data['shared_counter'];
200
-        $entity->requestCounter = (int) $data['request_counter'];
195
+        $entity->resultId = (int)$data['result_id'];
196
+        $entity->slaveId = (int)$data['slave_id'];
197
+        $entity->sqlchecksum = (int)$data['sqlchecksum'];
198
+        $entity->sqlquery = (string)$data['sqlquery'];
199
+        $entity->sharedCounter = (int)$data['shared_counter'];
200
+        $entity->requestCounter = (int)$data['request_counter'];
201 201
         $entity->dateCreated = new DateTime($data['date_created']);
202 202
         $entity->dateLastqueried = new DateTime($data['date_lastqueried']);
203 203
 
Please login to merge, or discard this patch.
local/devel/Repositories/GeodbPolygonsRepository.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->polygonId = (int) $this->connection->lastInsertId();
124
+        $entity->polygonId = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -188,8 +188,8 @@  discard block
 block discarded – undo
188 188
     public function getEntityFromDatabaseArray(array $data)
189 189
     {
190 190
         $entity = new GeodbPolygonsEntity();
191
-        $entity->polygonId = (int) $data['polygon_id'];
192
-        $entity->seqNo = (int) $data['seq_no'];
191
+        $entity->polygonId = (int)$data['polygon_id'];
192
+        $entity->seqNo = (int)$data['seq_no'];
193 193
         $entity->lon = $data['lon'];
194 194
         $entity->lat = $data['lat'];
195 195
 
Please login to merge, or discard this patch.
local/devel/Repositories/GnsLocationsRepository.php 1 patch
Spacing   +27 added lines, -27 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->rc = (int) $this->connection->lastInsertId();
124
+        $entity->rc = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -213,35 +213,35 @@  discard block
 block discarded – undo
213 213
     public function getEntityFromDatabaseArray(array $data)
214 214
     {
215 215
         $entity = new GnsLocationsEntity();
216
-        $entity->rc = (int) $data['rc'];
217
-        $entity->ufi = (int) $data['ufi'];
218
-        $entity->uni = (int) $data['uni'];
216
+        $entity->rc = (int)$data['rc'];
217
+        $entity->ufi = (int)$data['ufi'];
218
+        $entity->uni = (int)$data['uni'];
219 219
         $entity->lat = $data['lat'];
220 220
         $entity->lon = $data['lon'];
221
-        $entity->dmsLat = (int) $data['dms_lat'];
222
-        $entity->dmsLon = (int) $data['dms_lon'];
223
-        $entity->utm = (string) $data['utm'];
224
-        $entity->jog = (string) $data['jog'];
225
-        $entity->fc = (string) $data['fc'];
226
-        $entity->dsg = (string) $data['dsg'];
227
-        $entity->pc = (int) $data['pc'];
228
-        $entity->cc1 = (string) $data['cc1'];
229
-        $entity->adm1 = (string) $data['adm1'];
230
-        $entity->adm2 = (string) $data['adm2'];
231
-        $entity->dim = (int) $data['dim'];
232
-        $entity->cc2 = (string) $data['cc2'];
233
-        $entity->nt = (string) $data['nt'];
234
-        $entity->lc = (string) $data['lc'];
235
-        $entity->sHORTFORM = (string) $data['SHORT_FORM'];
236
-        $entity->gENERIC = (string) $data['GENERIC'];
237
-        $entity->sORTNAME = (string) $data['SORT_NAME'];
238
-        $entity->fULLNAME = (string) $data['FULL_NAME'];
239
-        $entity->fULLNAMEND = (string) $data['FULL_NAME_ND'];
221
+        $entity->dmsLat = (int)$data['dms_lat'];
222
+        $entity->dmsLon = (int)$data['dms_lon'];
223
+        $entity->utm = (string)$data['utm'];
224
+        $entity->jog = (string)$data['jog'];
225
+        $entity->fc = (string)$data['fc'];
226
+        $entity->dsg = (string)$data['dsg'];
227
+        $entity->pc = (int)$data['pc'];
228
+        $entity->cc1 = (string)$data['cc1'];
229
+        $entity->adm1 = (string)$data['adm1'];
230
+        $entity->adm2 = (string)$data['adm2'];
231
+        $entity->dim = (int)$data['dim'];
232
+        $entity->cc2 = (string)$data['cc2'];
233
+        $entity->nt = (string)$data['nt'];
234
+        $entity->lc = (string)$data['lc'];
235
+        $entity->sHORTFORM = (string)$data['SHORT_FORM'];
236
+        $entity->gENERIC = (string)$data['GENERIC'];
237
+        $entity->sORTNAME = (string)$data['SORT_NAME'];
238
+        $entity->fULLNAME = (string)$data['FULL_NAME'];
239
+        $entity->fULLNAMEND = (string)$data['FULL_NAME_ND'];
240 240
         $entity->mODDATE = new DateTime($data['MOD_DATE']);
241
-        $entity->admtxt1 = (string) $data['admtxt1'];
242
-        $entity->admtxt3 = (string) $data['admtxt3'];
243
-        $entity->admtxt4 = (string) $data['admtxt4'];
244
-        $entity->admtxt2 = (string) $data['admtxt2'];
241
+        $entity->admtxt1 = (string)$data['admtxt1'];
242
+        $entity->admtxt3 = (string)$data['admtxt3'];
243
+        $entity->admtxt4 = (string)$data['admtxt4'];
244
+        $entity->admtxt2 = (string)$data['admtxt2'];
245 245
 
246 246
         return $entity;
247 247
     }
Please login to merge, or discard this patch.
local/devel/Repositories/OkapiSearchSetsRepository.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->id = (int) $this->connection->lastInsertId();
124
+        $entity->id = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -188,8 +188,8 @@  discard block
 block discarded – undo
188 188
     public function getEntityFromDatabaseArray(array $data)
189 189
     {
190 190
         $entity = new OkapiSearchSetsEntity();
191
-        $entity->id = (int) $data['id'];
192
-        $entity->paramsHash = (string) $data['params_hash'];
191
+        $entity->id = (int)$data['id'];
192
+        $entity->paramsHash = (string)$data['params_hash'];
193 193
         $entity->dateCreated = new DateTime($data['date_created']);
194 194
         $entity->expires = new DateTime($data['expires']);
195 195
 
Please login to merge, or discard this patch.
local/devel/Repositories/PageBlockRepository.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
     }
@@ -192,14 +192,14 @@  discard block
 block discarded – undo
192 192
     public function getEntityFromDatabaseArray(array $data)
193 193
     {
194 194
         $entity = new PageBlockEntity();
195
-        $entity->id = (int) $data['id'];
196
-        $entity->pageId = (int) $data['page_id'];
197
-        $entity->locale = (string) $data['locale'];
198
-        $entity->title = (string) $data['title'];
199
-        $entity->html = (string) $data['html'];
200
-        $entity->position = (int) $data['position'];
195
+        $entity->id = (int)$data['id'];
196
+        $entity->pageId = (int)$data['page_id'];
197
+        $entity->locale = (string)$data['locale'];
198
+        $entity->title = (string)$data['title'];
199
+        $entity->html = (string)$data['html'];
200
+        $entity->position = (int)$data['position'];
201 201
         $entity->updatedAt = new DateTime($data['updated_at']);
202
-        $entity->active = (int) $data['active'];
202
+        $entity->active = (int)$data['active'];
203 203
 
204 204
         return $entity;
205 205
     }
Please login to merge, or discard this patch.
local/devel/Repositories/StatCacheLogsRepository.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
     }
@@ -191,8 +191,8 @@  discard block
 block discarded – undo
191 191
     public function getEntityFromDatabaseArray(array $data)
192 192
     {
193 193
         $entity = new StatCacheLogsEntity();
194
-        $entity->cacheId = (int) $data['cache_id'];
195
-        $entity->userId = (int) $data['user_id'];
194
+        $entity->cacheId = (int)$data['cache_id'];
195
+        $entity->userId = (int)$data['user_id'];
196 196
         $entity->found = $data['found'];
197 197
         $entity->notfound = $data['notfound'];
198 198
         $entity->note = $data['note'];
Please login to merge, or discard this patch.
local/devel/Repositories/ReplicationOverwriteRepository.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
     }
@@ -188,10 +188,10 @@  discard block
 block discarded – undo
188 188
     public function getEntityFromDatabaseArray(array $data)
189 189
     {
190 190
         $entity = new ReplicationOverwriteEntity();
191
-        $entity->id = (int) $data['id'];
192
-        $entity->type = (int) $data['type'];
193
-        $entity->value = (string) $data['value'];
194
-        $entity->uuid = (string) $data['uuid'];
191
+        $entity->id = (int)$data['id'];
192
+        $entity->type = (int)$data['type'];
193
+        $entity->value = (string)$data['value'];
194
+        $entity->uuid = (string)$data['uuid'];
195 195
 
196 196
         return $entity;
197 197
     }
Please login to merge, or discard this patch.
local/devel/Repositories/WatchesWaitingRepository.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
     }
@@ -191,13 +191,13 @@  discard block
 block discarded – undo
191 191
     public function getEntityFromDatabaseArray(array $data)
192 192
     {
193 193
         $entity = new WatchesWaitingEntity();
194
-        $entity->id = (int) $data['id'];
195
-        $entity->userId = (int) $data['user_id'];
196
-        $entity->objectId = (int) $data['object_id'];
197
-        $entity->objectType = (int) $data['object_type'];
194
+        $entity->id = (int)$data['id'];
195
+        $entity->userId = (int)$data['user_id'];
196
+        $entity->objectId = (int)$data['object_id'];
197
+        $entity->objectType = (int)$data['object_type'];
198 198
         $entity->dateCreated = new DateTime($data['date_created']);
199
-        $entity->watchtext = (string) $data['watchtext'];
200
-        $entity->watchtype = (int) $data['watchtype'];
199
+        $entity->watchtext = (string)$data['watchtext'];
200
+        $entity->watchtype = (int)$data['watchtype'];
201 201
 
202 202
         return $entity;
203 203
     }
Please login to merge, or discard this patch.