Completed
Pull Request — development (#720)
by Thomas
06:42
created
local/devel/Repositories/PwDictRepository.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->pw = (int) $this->connection->lastInsertId();
124
+        $entity->pw = (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 PwDictEntity();
188
-        $entity->pw = (string) $data['pw'];
188
+        $entity->pw = (string)$data['pw'];
189 189
 
190 190
         return $entity;
191 191
     }
Please login to merge, or discard this patch.
local/devel/Repositories/WatchesNotifiedRepository.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 WatchesNotifiedEntity();
192
-        $entity->id = (int) $data['id'];
193
-        $entity->userId = (int) $data['user_id'];
194
-        $entity->objectId = (int) $data['object_id'];
195
-        $entity->objectType = (int) $data['object_type'];
196
-        $entity->dateCreated =  new DateTime($data['date_created']);
192
+        $entity->id = (int)$data['id'];
193
+        $entity->userId = (int)$data['user_id'];
194
+        $entity->objectId = (int)$data['object_id'];
195
+        $entity->objectType = (int)$data['object_type'];
196
+        $entity->dateCreated = new DateTime($data['date_created']);
197 197
 
198 198
         return $entity;
199 199
     }
Please login to merge, or discard this patch.
local/devel/Repositories/NutsCodesRepository.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->code = (int) $this->connection->lastInsertId();
124
+        $entity->code = (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 NutsCodesEntity();
189
-        $entity->code = (string) $data['code'];
190
-        $entity->name = (string) $data['name'];
189
+        $entity->code = (string)$data['code'];
190
+        $entity->name = (string)$data['name'];
191 191
 
192 192
         return $entity;
193 193
     }
Please login to merge, or discard this patch.
local/devel/Repositories/GnsSearchRepository.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->uniId = (int) $this->connection->lastInsertId();
124
+        $entity->uniId = (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 GnsSearchEntity();
191
-        $entity->uniId = (int) $data['uni_id'];
192
-        $entity->sort = (string) $data['sort'];
193
-        $entity->simple = (string) $data['simple'];
194
-        $entity->simplehash = (int) $data['simplehash'];
191
+        $entity->uniId = (int)$data['uni_id'];
192
+        $entity->sort = (string)$data['sort'];
193
+        $entity->simple = (string)$data['simple'];
194
+        $entity->simplehash = (int)$data['simplehash'];
195 195
 
196 196
         return $entity;
197 197
     }
Please login to merge, or discard this patch.
local/devel/Repositories/OkapiCacheReadsRepository.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->cacheKey = (int) $this->connection->lastInsertId();
124
+        $entity->cacheKey = (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 OkapiCacheReadsEntity();
188
-        $entity->cacheKey = (string) $data['cache_key'];
188
+        $entity->cacheKey = (string)$data['cache_key'];
189 189
 
190 190
         return $entity;
191 191
     }
Please login to merge, or discard this patch.
local/devel/Repositories/CacheMapsRepository.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 GeoCacheMapsEntity();
189
-        $entity->cacheId = (int) $data['cache_id'];
190
-        $entity->lastRefresh =  new DateTime($data['last_refresh']);
189
+        $entity->cacheId = (int)$data['cache_id'];
190
+        $entity->lastRefresh = new DateTime($data['last_refresh']);
191 191
 
192 192
         return $entity;
193 193
     }
Please login to merge, or discard this patch.
local/devel/Repositories/CacheLogsArchivedRepository.php 1 patch
Spacing   +24 added lines, -24 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
     }
@@ -208,30 +208,30 @@  discard block
 block discarded – undo
208 208
     public function getEntityFromDatabaseArray(array $data)
209 209
     {
210 210
         $entity = new GeoCacheLogsArchivedEntity();
211
-        $entity->id = (int) $data['id'];
212
-        $entity->uuid = (string) $data['uuid'];
213
-        $entity->node = (int) $data['node'];
214
-        $entity->dateCreated =  new DateTime($data['date_created']);
215
-        $entity->entryLastModified =  new DateTime($data['entry_last_modified']);
216
-        $entity->lastModified =  new DateTime($data['last_modified']);
217
-        $entity->okapiSyncbase = (string) $data['okapi_syncbase'];
218
-        $entity->logLastModified =  new DateTime($data['log_last_modified']);
219
-        $entity->cacheId = (int) $data['cache_id'];
220
-        $entity->userId = (int) $data['user_id'];
221
-        $entity->type = (int) $data['type'];
222
-        $entity->ocTeamComment = (int) $data['oc_team_comment'];
223
-        $entity->date =  new DateTime($data['date']);
224
-        $entity->orderDate =  new DateTime($data['order_date']);
225
-        $entity->needsMaintenance = (int) $data['needs_maintenance'];
226
-        $entity->listingOutdated = (int) $data['listing_outdated'];
227
-        $entity->text = (string) $data['text'];
228
-        $entity->textHtml = (int) $data['text_html'];
229
-        $entity->textHtmledit = (int) $data['text_htmledit'];
230
-        $entity->ownerNotified = (int) $data['owner_notified'];
211
+        $entity->id = (int)$data['id'];
212
+        $entity->uuid = (string)$data['uuid'];
213
+        $entity->node = (int)$data['node'];
214
+        $entity->dateCreated = new DateTime($data['date_created']);
215
+        $entity->entryLastModified = new DateTime($data['entry_last_modified']);
216
+        $entity->lastModified = new DateTime($data['last_modified']);
217
+        $entity->okapiSyncbase = (string)$data['okapi_syncbase'];
218
+        $entity->logLastModified = new DateTime($data['log_last_modified']);
219
+        $entity->cacheId = (int)$data['cache_id'];
220
+        $entity->userId = (int)$data['user_id'];
221
+        $entity->type = (int)$data['type'];
222
+        $entity->ocTeamComment = (int)$data['oc_team_comment'];
223
+        $entity->date = new DateTime($data['date']);
224
+        $entity->orderDate = new DateTime($data['order_date']);
225
+        $entity->needsMaintenance = (int)$data['needs_maintenance'];
226
+        $entity->listingOutdated = (int)$data['listing_outdated'];
227
+        $entity->text = (string)$data['text'];
228
+        $entity->textHtml = (int)$data['text_html'];
229
+        $entity->textHtmledit = (int)$data['text_htmledit'];
230
+        $entity->ownerNotified = (int)$data['owner_notified'];
231 231
         $entity->picture = $data['picture'];
232
-        $entity->deletionDate =  new DateTime($data['deletion_date']);
233
-        $entity->deletedBy = (int) $data['deleted_by'];
234
-        $entity->restoredBy = (int) $data['restored_by'];
232
+        $entity->deletionDate = new DateTime($data['deletion_date']);
233
+        $entity->deletedBy = (int)$data['deleted_by'];
234
+        $entity->restoredBy = (int)$data['restored_by'];
235 235
 
236 236
         return $entity;
237 237
     }
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/LogentriesTypesRepository.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 LogentriesTypesEntity();
190
-        $entity->id = (int) $data['id'];
191
-        $entity->module = (string) $data['module'];
192
-        $entity->eventname = (string) $data['eventname'];
190
+        $entity->id = (int)$data['id'];
191
+        $entity->module = (string)$data['module'];
192
+        $entity->eventname = (string)$data['eventname'];
193 193
 
194 194
         return $entity;
195 195
     }
Please login to merge, or discard this patch.