Completed
Push — development ( 9e3728...14ea30 )
by Thomas
20s queued 12s
created
local/devel/Repositories/GkItemRepository.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
     }
@@ -194,16 +194,16 @@  discard block
 block discarded – undo
194 194
     public function getEntityFromDatabaseArray(array $data)
195 195
     {
196 196
         $entity = new GkItemEntity();
197
-        $entity->id = (int) $data['id'];
198
-        $entity->name = (string) $data['name'];
199
-        $entity->description = (string) $data['description'];
200
-        $entity->userid = (int) $data['userid'];
197
+        $entity->id = (int)$data['id'];
198
+        $entity->name = (string)$data['name'];
199
+        $entity->description = (string)$data['description'];
200
+        $entity->userid = (int)$data['userid'];
201 201
         $entity->datecreated = new DateTime($data['datecreated']);
202 202
         $entity->distancetravelled = $data['distancetravelled'];
203 203
         $entity->latitude = $data['latitude'];
204 204
         $entity->longitude = $data['longitude'];
205
-        $entity->typeid = (int) $data['typeid'];
206
-        $entity->stateid = (int) $data['stateid'];
205
+        $entity->typeid = (int)$data['typeid'];
206
+        $entity->stateid = (int)$data['stateid'];
207 207
 
208 208
         return $entity;
209 209
     }
Please login to merge, or discard this patch.
local/devel/Repositories/CachesAttributesRepository.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 GeoCachesAttributesEntity();
189
-        $entity->cacheId = (int) $data['cache_id'];
190
-        $entity->attribId = (int) $data['attrib_id'];
189
+        $entity->cacheId = (int)$data['cache_id'];
190
+        $entity->attribId = (int)$data['attrib_id'];
191 191
 
192 192
         return $entity;
193 193
     }
Please login to merge, or discard this patch.
local/devel/Repositories/OkapiNoncesRepository.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->consumerKey = (int) $this->connection->lastInsertId();
124
+        $entity->consumerKey = (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 OkapiNoncesEntity();
190
-        $entity->consumerKey = (string) $data['consumer_key'];
191
-        $entity->nonceHash = (string) $data['nonce_hash'];
192
-        $entity->timestamp = (int) $data['timestamp'];
190
+        $entity->consumerKey = (string)$data['consumer_key'];
191
+        $entity->nonceHash = (string)$data['nonce_hash'];
192
+        $entity->timestamp = (int)$data['timestamp'];
193 193
 
194 194
         return $entity;
195 195
     }
Please login to merge, or discard this patch.
local/devel/Repositories/CacheCountriesRepository.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
     }
@@ -189,11 +189,11 @@  discard block
 block discarded – undo
189 189
     public function getEntityFromDatabaseArray(array $data)
190 190
     {
191 191
         $entity = new GeoCacheCountriesEntity();
192
-        $entity->id = (int) $data['id'];
192
+        $entity->id = (int)$data['id'];
193 193
         $entity->dateCreated = new DateTime($data['date_created']);
194
-        $entity->cacheId = (int) $data['cache_id'];
195
-        $entity->country = (string) $data['country'];
196
-        $entity->restoredBy = (int) $data['restored_by'];
194
+        $entity->cacheId = (int)$data['cache_id'];
195
+        $entity->country = (string)$data['country'];
196
+        $entity->restoredBy = (int)$data['restored_by'];
197 197
 
198 198
         return $entity;
199 199
     }
Please login to merge, or discard this patch.
local/devel/Repositories/GeodbHierarchiesRepository.php 1 patch
Spacing   +14 added lines, -14 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
     }
@@ -199,21 +199,21 @@  discard block
 block discarded – undo
199 199
     public function getEntityFromDatabaseArray(array $data)
200 200
     {
201 201
         $entity = new GeodbHierarchiesEntity();
202
-        $entity->locId = (int) $data['loc_id'];
203
-        $entity->level = (int) $data['level'];
204
-        $entity->idLvl1 = (int) $data['id_lvl1'];
205
-        $entity->idLvl2 = (int) $data['id_lvl2'];
206
-        $entity->idLvl3 = (int) $data['id_lvl3'];
207
-        $entity->idLvl4 = (int) $data['id_lvl4'];
208
-        $entity->idLvl5 = (int) $data['id_lvl5'];
209
-        $entity->idLvl6 = (int) $data['id_lvl6'];
210
-        $entity->idLvl7 = (int) $data['id_lvl7'];
211
-        $entity->idLvl8 = (int) $data['id_lvl8'];
212
-        $entity->idLvl9 = (int) $data['id_lvl9'];
202
+        $entity->locId = (int)$data['loc_id'];
203
+        $entity->level = (int)$data['level'];
204
+        $entity->idLvl1 = (int)$data['id_lvl1'];
205
+        $entity->idLvl2 = (int)$data['id_lvl2'];
206
+        $entity->idLvl3 = (int)$data['id_lvl3'];
207
+        $entity->idLvl4 = (int)$data['id_lvl4'];
208
+        $entity->idLvl5 = (int)$data['id_lvl5'];
209
+        $entity->idLvl6 = (int)$data['id_lvl6'];
210
+        $entity->idLvl7 = (int)$data['id_lvl7'];
211
+        $entity->idLvl8 = (int)$data['id_lvl8'];
212
+        $entity->idLvl9 = (int)$data['id_lvl9'];
213 213
         $entity->validSince = new DateTime($data['valid_since']);
214
-        $entity->dateTypeSince = (int) $data['date_type_since'];
214
+        $entity->dateTypeSince = (int)$data['date_type_since'];
215 215
         $entity->validUntil = new DateTime($data['valid_until']);
216
-        $entity->dateTypeUntil = (int) $data['date_type_until'];
216
+        $entity->dateTypeUntil = (int)$data['date_type_until'];
217 217
 
218 218
         return $entity;
219 219
     }
Please login to merge, or discard this patch.
local/devel/Repositories/CacheReportReasonsRepository.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 GeoCacheReportReasonsEntity();
191
-        $entity->id = (int) $data['id'];
192
-        $entity->name = (string) $data['name'];
193
-        $entity->transId = (int) $data['trans_id'];
194
-        $entity->order = (int) $data['order'];
191
+        $entity->id = (int)$data['id'];
192
+        $entity->name = (string)$data['name'];
193
+        $entity->transId = (int)$data['trans_id'];
194
+        $entity->order = (int)$data['order'];
195 195
 
196 196
         return $entity;
197 197
     }
Please login to merge, or discard this patch.
local/devel/Repositories/CacheListsRepository.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
     }
@@ -197,19 +197,19 @@  discard block
 block discarded – undo
197 197
     public function getEntityFromDatabaseArray(array $data)
198 198
     {
199 199
         $entity = new GeoCacheListsEntity();
200
-        $entity->id = (int) $data['id'];
201
-        $entity->uuid = (string) $data['uuid'];
202
-        $entity->node = (int) $data['node'];
203
-        $entity->userId = (int) $data['user_id'];
200
+        $entity->id = (int)$data['id'];
201
+        $entity->uuid = (string)$data['uuid'];
202
+        $entity->node = (int)$data['node'];
203
+        $entity->userId = (int)$data['user_id'];
204 204
         $entity->dateCreated = new DateTime($data['date_created']);
205 205
         $entity->lastModified = new DateTime($data['last_modified']);
206 206
         $entity->lastAdded = new DateTime($data['last_added']);
207 207
         $entity->lastStateChange = new DateTime($data['last_state_change']);
208
-        $entity->name = (string) $data['name'];
209
-        $entity->isPublic = (int) $data['is_public'];
210
-        $entity->description = (string) $data['description'];
211
-        $entity->descHtmledit = (int) $data['desc_htmledit'];
212
-        $entity->password = (string) $data['password'];
208
+        $entity->name = (string)$data['name'];
209
+        $entity->isPublic = (int)$data['is_public'];
210
+        $entity->description = (string)$data['description'];
211
+        $entity->descHtmledit = (int)$data['desc_htmledit'];
212
+        $entity->password = (string)$data['password'];
213 213
 
214 214
         return $entity;
215 215
     }
Please login to merge, or discard this patch.
local/devel/Repositories/CacheListBookmarksRepository.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 GeoCacheListBookmarksEntity();
190
-        $entity->cacheListId = (int) $data['cache_list_id'];
191
-        $entity->userId = (int) $data['user_id'];
192
-        $entity->password = (string) $data['password'];
190
+        $entity->cacheListId = (int)$data['cache_list_id'];
191
+        $entity->userId = (int)$data['user_id'];
192
+        $entity->password = (string)$data['password'];
193 193
 
194 194
         return $entity;
195 195
     }
Please login to merge, or discard this patch.
local/devel/Repositories/NpaTypesRepository.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 NpaTypesEntity();
191
-        $entity->id = (string) $data['id'];
192
-        $entity->name = (string) $data['name'];
193
-        $entity->ordinal = (int) $data['ordinal'];
194
-        $entity->noWarning = (int) $data['no_warning'];
191
+        $entity->id = (string)$data['id'];
192
+        $entity->name = (string)$data['name'];
193
+        $entity->ordinal = (int)$data['ordinal'];
194
+        $entity->noWarning = (int)$data['no_warning'];
195 195
 
196 196
         return $entity;
197 197
     }
Please login to merge, or discard this patch.