Completed
Push — development ( 9e3728...14ea30 )
by Thomas
20s queued 12s
created
local/devel/Repositories/CoordinatesTypeRepository.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 CoordinatesTypeEntity();
193
-        $entity->id = (int) $data['id'];
194
-        $entity->name = (string) $data['name'];
195
-        $entity->transId = (int) $data['trans_id'];
196
-        $entity->image = (string) $data['image'];
197
-        $entity->preposition = (string) $data['preposition'];
198
-        $entity->ppTransId = (int) $data['pp_trans_id'];
193
+        $entity->id = (int)$data['id'];
194
+        $entity->name = (string)$data['name'];
195
+        $entity->transId = (int)$data['trans_id'];
196
+        $entity->image = (string)$data['image'];
197
+        $entity->preposition = (string)$data['preposition'];
198
+        $entity->ppTransId = (int)$data['pp_trans_id'];
199 199
 
200 200
         return $entity;
201 201
     }
Please login to merge, or discard this patch.
local/devel/Repositories/GeodbCoordinatesRepository.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
     }
@@ -193,15 +193,15 @@  discard block
 block discarded – undo
193 193
     public function getEntityFromDatabaseArray(array $data)
194 194
     {
195 195
         $entity = new GeodbCoordinatesEntity();
196
-        $entity->locId = (int) $data['loc_id'];
196
+        $entity->locId = (int)$data['loc_id'];
197 197
         $entity->lon = $data['lon'];
198 198
         $entity->lat = $data['lat'];
199
-        $entity->coordType = (int) $data['coord_type'];
200
-        $entity->coordSubtype = (int) $data['coord_subtype'];
199
+        $entity->coordType = (int)$data['coord_type'];
200
+        $entity->coordSubtype = (int)$data['coord_subtype'];
201 201
         $entity->validSince = new DateTime($data['valid_since']);
202
-        $entity->dateTypeSince = (int) $data['date_type_since'];
202
+        $entity->dateTypeSince = (int)$data['date_type_since'];
203 203
         $entity->validUntil = new DateTime($data['valid_until']);
204
-        $entity->dateTypeUntil = (int) $data['date_type_until'];
204
+        $entity->dateTypeUntil = (int)$data['date_type_until'];
205 205
 
206 206
         return $entity;
207 207
     }
Please login to merge, or discard this patch.
local/devel/Repositories/OkapiTokensRepository.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->key = (int) $this->connection->lastInsertId();
124
+        $entity->key = (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 OkapiTokensEntity();
195
-        $entity->key = (string) $data['key'];
196
-        $entity->secret = (string) $data['secret'];
195
+        $entity->key = (string)$data['key'];
196
+        $entity->secret = (string)$data['secret'];
197 197
         $entity->tokenType = $data['token_type'];
198
-        $entity->timestamp = (int) $data['timestamp'];
199
-        $entity->userId = (int) $data['user_id'];
200
-        $entity->consumerKey = (string) $data['consumer_key'];
201
-        $entity->verifier = (string) $data['verifier'];
202
-        $entity->callback = (string) $data['callback'];
198
+        $entity->timestamp = (int)$data['timestamp'];
199
+        $entity->userId = (int)$data['user_id'];
200
+        $entity->consumerKey = (string)$data['consumer_key'];
201
+        $entity->verifier = (string)$data['verifier'];
202
+        $entity->callback = (string)$data['callback'];
203 203
 
204 204
         return $entity;
205 205
     }
Please login to merge, or discard this patch.
local/devel/Repositories/HelppagesRepository.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->ocpage = (int) $this->connection->lastInsertId();
124
+        $entity->ocpage = (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 HelppagesEntity();
190
-        $entity->ocpage = (string) $data['ocpage'];
191
-        $entity->language = (string) $data['language'];
192
-        $entity->helppage = (string) $data['helppage'];
190
+        $entity->ocpage = (string)$data['ocpage'];
191
+        $entity->language = (string)$data['language'];
192
+        $entity->helppage = (string)$data['helppage'];
193 193
 
194 194
         return $entity;
195 195
     }
Please login to merge, or discard this patch.
local/devel/Repositories/CountriesRepository.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->short = (int) $this->connection->lastInsertId();
124
+        $entity->short = (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 CountriesEntity();
198
-        $entity->short = (string) $data['short'];
199
-        $entity->name = (string) $data['name'];
200
-        $entity->transId = (int) $data['trans_id'];
201
-        $entity->de = (string) $data['de'];
202
-        $entity->en = (string) $data['en'];
203
-        $entity->listDefaultDe = (int) $data['list_default_de'];
204
-        $entity->sortDe = (string) $data['sort_de'];
205
-        $entity->listDefaultEn = (int) $data['list_default_en'];
206
-        $entity->sortEn = (string) $data['sort_en'];
207
-        $entity->admDisplay2 = (int) $data['adm_display2'];
208
-        $entity->admDisplay3 = (int) $data['adm_display3'];
198
+        $entity->short = (string)$data['short'];
199
+        $entity->name = (string)$data['name'];
200
+        $entity->transId = (int)$data['trans_id'];
201
+        $entity->de = (string)$data['de'];
202
+        $entity->en = (string)$data['en'];
203
+        $entity->listDefaultDe = (int)$data['list_default_de'];
204
+        $entity->sortDe = (string)$data['sort_de'];
205
+        $entity->listDefaultEn = (int)$data['list_default_en'];
206
+        $entity->sortEn = (string)$data['sort_en'];
207
+        $entity->admDisplay2 = (int)$data['adm_display2'];
208
+        $entity->admDisplay3 = (int)$data['adm_display3'];
209 209
 
210 210
         return $entity;
211 211
     }
Please login to merge, or discard this patch.
local/devel/Repositories/SysReplExcludeRepository.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->userId = (int) $this->connection->lastInsertId();
124
+        $entity->userId = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
     public function getEntityFromDatabaseArray(array $data)
187 187
     {
188 188
         $entity = new SysReplExcludeEntity();
189
-        $entity->userId = (int) $data['user_id'];
189
+        $entity->userId = (int)$data['user_id'];
190 190
         $entity->datExclude = new DateTime($data['datExclude']);
191 191
 
192 192
         return $entity;
Please login to merge, or discard this patch.
local/devel/Repositories/SearchIndexTimesRepository.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->objectType = (int) $this->connection->lastInsertId();
124
+        $entity->objectType = (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 SearchIndexTimesEntity();
190
-        $entity->objectType = (int) $data['object_type'];
191
-        $entity->objectId = (int) $data['object_id'];
190
+        $entity->objectType = (int)$data['object_type'];
191
+        $entity->objectId = (int)$data['object_id'];
192 192
         $entity->lastRefresh = new DateTime($data['last_refresh']);
193 193
 
194 194
         return $entity;
Please login to merge, or discard this patch.
local/devel/Repositories/GeodbTypeNamesRepository.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->typeId = (int) $this->connection->lastInsertId();
124
+        $entity->typeId = (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 GeodbTypeNamesEntity();
190
-        $entity->typeId = (int) $data['type_id'];
191
-        $entity->typeLocale = (string) $data['type_locale'];
192
-        $entity->name = (string) $data['name'];
190
+        $entity->typeId = (int)$data['type_id'];
191
+        $entity->typeLocale = (string)$data['type_locale'];
192
+        $entity->name = (string)$data['name'];
193 193
 
194 194
         return $entity;
195 195
     }
Please login to merge, or discard this patch.
local/devel/Repositories/LogentriesRepository.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
     }
@@ -193,15 +193,15 @@  discard block
 block discarded – undo
193 193
     public function getEntityFromDatabaseArray(array $data)
194 194
     {
195 195
         $entity = new LogentriesEntity();
196
-        $entity->id = (int) $data['id'];
196
+        $entity->id = (int)$data['id'];
197 197
         $entity->dateCreated = new DateTime($data['date_created']);
198
-        $entity->module = (string) $data['module'];
199
-        $entity->eventid = (int) $data['eventid'];
200
-        $entity->userid = (int) $data['userid'];
201
-        $entity->objectid1 = (int) $data['objectid1'];
202
-        $entity->objectid2 = (int) $data['objectid2'];
203
-        $entity->logtext = (string) $data['logtext'];
204
-        $entity->details = (string) $data['details'];
198
+        $entity->module = (string)$data['module'];
199
+        $entity->eventid = (int)$data['eventid'];
200
+        $entity->userid = (int)$data['userid'];
201
+        $entity->objectid1 = (int)$data['objectid1'];
202
+        $entity->objectid2 = (int)$data['objectid2'];
203
+        $entity->logtext = (string)$data['logtext'];
204
+        $entity->details = (string)$data['details'];
205 205
 
206 206
         return $entity;
207 207
     }
Please login to merge, or discard this patch.