Completed
Pull Request — development (#720)
by Thomas
06:42
created
local/devel/Repositories/LogTypesTextRepository.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->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 LogTypesTextEntity();
192
-        $entity->id = (int) $data['id'];
193
-        $entity->logTypesId = (int) $data['log_types_id'];
194
-        $entity->lang = (string) $data['lang'];
195
-        $entity->textCombo = (string) $data['text_combo'];
196
-        $entity->textListing = (string) $data['text_listing'];
192
+        $entity->id = (int)$data['id'];
193
+        $entity->logTypesId = (int)$data['log_types_id'];
194
+        $entity->lang = (string)$data['lang'];
195
+        $entity->textCombo = (string)$data['text_combo'];
196
+        $entity->textListing = (string)$data['text_listing'];
197 197
 
198 198
         return $entity;
199 199
     }
Please login to merge, or discard this patch.
local/devel/Repositories/GnsLocationsRepository.php 1 patch
Spacing   +28 added lines, -28 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'];
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'];
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
+        $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'];
245 245
 
246 246
         return $entity;
247 247
     }
Please login to merge, or discard this patch.
local/devel/Repositories/PageRepository.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
     }
@@ -191,13 +191,13 @@  discard block
 block discarded – undo
191 191
     public function getEntityFromDatabaseArray(array $data)
192 192
     {
193 193
         $entity = new PageEntity();
194
-        $entity->id = (int) $data['id'];
195
-        $entity->slug = (string) $data['slug'];
196
-        $entity->metaKeywords = (string) $data['meta_keywords'];
197
-        $entity->metaDescription = (string) $data['meta_description'];
198
-        $entity->metaSocial = (string) $data['meta_social'];
199
-        $entity->updatedAt =  new DateTime($data['updated_at']);
200
-        $entity->active = (int) $data['active'];
194
+        $entity->id = (int)$data['id'];
195
+        $entity->slug = (string)$data['slug'];
196
+        $entity->metaKeywords = (string)$data['meta_keywords'];
197
+        $entity->metaDescription = (string)$data['meta_description'];
198
+        $entity->metaSocial = (string)$data['meta_social'];
199
+        $entity->updatedAt = new DateTime($data['updated_at']);
200
+        $entity->active = (int)$data['active'];
201 201
 
202 202
         return $entity;
203 203
     }
Please login to merge, or discard this patch.
local/devel/Repositories/GeodbTextdataRepository.php 1 patch
Spacing   +9 added lines, -9 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
-        $entity->validSince =  new DateTime($data['valid_since']);
204
-        $entity->dateTypeSince = (int) $data['date_type_since'];
205
-        $entity->validUntil =  new DateTime($data['valid_until']);
206
-        $entity->dateTypeUntil = (int) $data['date_type_until'];
203
+        $entity->validSince = new DateTime($data['valid_since']);
204
+        $entity->dateTypeSince = (int)$data['date_type_since'];
205
+        $entity->validUntil = new DateTime($data['valid_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/NutsLayerRepository.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,9 +188,9 @@  discard block
 block discarded – undo
188 188
     public function getEntityFromDatabaseArray(array $data)
189 189
     {
190 190
         $entity = new NutsLayerEntity();
191
-        $entity->id = (int) $data['id'];
192
-        $entity->level = (int) $data['level'];
193
-        $entity->code = (string) $data['code'];
191
+        $entity->id = (int)$data['id'];
192
+        $entity->level = (int)$data['level'];
193
+        $entity->code = (string)$data['code'];
194 194
         $entity->shape = $data['shape'];
195 195
 
196 196
         return $entity;
Please login to merge, or discard this patch.
local/devel/Repositories/XmlsessionDataRepository.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->sessionId = (int) $this->connection->lastInsertId();
124
+        $entity->sessionId = (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 XmlsessionDataEntity();
190
-        $entity->sessionId = (int) $data['session_id'];
191
-        $entity->objectType = (int) $data['object_type'];
192
-        $entity->objectId = (int) $data['object_id'];
190
+        $entity->sessionId = (int)$data['session_id'];
191
+        $entity->objectType = (int)$data['object_type'];
192
+        $entity->objectId = (int)$data['object_id'];
193 193
 
194 194
         return $entity;
195 195
     }
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/CacheStatusRepository.php 1 patch
Spacing   +9 added lines, -9 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 GeoCacheStatusEntity();
195
-        $entity->id = (int) $data['id'];
196
-        $entity->name = (string) $data['name'];
197
-        $entity->transId = (int) $data['trans_id'];
198
-        $entity->de = (string) $data['de'];
199
-        $entity->en = (string) $data['en'];
200
-        $entity->allowUserView = (int) $data['allow_user_view'];
201
-        $entity->allowOwnerEditStatus = (int) $data['allow_owner_edit_status'];
202
-        $entity->allowUserLog = (int) $data['allow_user_log'];
195
+        $entity->id = (int)$data['id'];
196
+        $entity->name = (string)$data['name'];
197
+        $entity->transId = (int)$data['trans_id'];
198
+        $entity->de = (string)$data['de'];
199
+        $entity->en = (string)$data['en'];
200
+        $entity->allowUserView = (int)$data['allow_user_view'];
201
+        $entity->allowOwnerEditStatus = (int)$data['allow_owner_edit_status'];
202
+        $entity->allowUserLog = (int)$data['allow_user_log'];
203 203
 
204 204
         return $entity;
205 205
     }
Please login to merge, or discard this patch.
local/devel/Repositories/SearchIgnoreRepository.php 1 patch
Spacing   +2 added lines, -2 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->word = (int) $this->connection->lastInsertId();
124
+        $entity->word = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     public function getEntityFromDatabaseArray(array $data)
186 186
     {
187 187
         $entity = new SearchIgnoreEntity();
188
-        $entity->word = (string) $data['word'];
188
+        $entity->word = (string)$data['word'];
189 189
 
190 190
         return $entity;
191 191
     }
Please login to merge, or discard this patch.