Completed
Pull Request — development (#736)
by Kai
04:35
created
local/devel/Repositories/SysTemptablesRepository.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->threadid = (int) $this->connection->lastInsertId();
124
+        $entity->threadid = (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 SysTemptablesEntity();
189
-        $entity->threadid = (int) $data['threadid'];
190
-        $entity->name = (string) $data['name'];
189
+        $entity->threadid = (int)$data['threadid'];
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/EmailUserRepository.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 EmailUserEntity();
194
-        $entity->id = (int) $data['id'];
194
+        $entity->id = (int)$data['id'];
195 195
         $entity->dateCreated = new DateTime($data['date_created']);
196
-        $entity->ipaddress = (string) $data['ipaddress'];
197
-        $entity->fromUserId = (int) $data['from_user_id'];
198
-        $entity->fromEmail = (string) $data['from_email'];
199
-        $entity->toUserId = (int) $data['to_user_id'];
200
-        $entity->toEmail = (string) $data['to_email'];
196
+        $entity->ipaddress = (string)$data['ipaddress'];
197
+        $entity->fromUserId = (int)$data['from_user_id'];
198
+        $entity->fromEmail = (string)$data['from_email'];
199
+        $entity->toUserId = (int)$data['to_user_id'];
200
+        $entity->toEmail = (string)$data['to_email'];
201 201
 
202 202
         return $entity;
203 203
     }
Please login to merge, or discard this patch.
local/devel/Repositories/CacheAdoptionsRepository.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 GeoCacheAdoptionsEntity();
192
-        $entity->id = (int) $data['id'];
193
-        $entity->cacheId = (int) $data['cache_id'];
192
+        $entity->id = (int)$data['id'];
193
+        $entity->cacheId = (int)$data['cache_id'];
194 194
         $entity->date = new DateTime($data['date']);
195
-        $entity->fromUserId = (int) $data['from_user_id'];
196
-        $entity->toUserId = (int) $data['to_user_id'];
195
+        $entity->fromUserId = (int)$data['from_user_id'];
196
+        $entity->toUserId = (int)$data['to_user_id'];
197 197
 
198 198
         return $entity;
199 199
     }
Please login to merge, or discard this patch.
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/StatCachesRepository.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->cacheId = (int) $this->connection->lastInsertId();
124
+        $entity->cacheId = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
     public function getEntityFromDatabaseArray(array $data)
196 196
     {
197 197
         $entity = new StatCachesEntity();
198
-        $entity->cacheId = (int) $data['cache_id'];
198
+        $entity->cacheId = (int)$data['cache_id'];
199 199
         $entity->found = $data['found'];
200 200
         $entity->notfound = $data['notfound'];
201 201
         $entity->note = $data['note'];
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/StatUserRepository.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
     }
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
     public function getEntityFromDatabaseArray(array $data)
192 192
     {
193 193
         $entity = new StatUserEntity();
194
-        $entity->userId = (int) $data['user_id'];
194
+        $entity->userId = (int)$data['user_id'];
195 195
         $entity->found = $data['found'];
196 196
         $entity->notfound = $data['notfound'];
197 197
         $entity->note = $data['note'];
Please login to merge, or discard this patch.
local/devel/Repositories/MapresultDataRepository.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->queryId = (int) $this->connection->lastInsertId();
124
+        $entity->queryId = (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 MapresultDataEntity();
189
-        $entity->queryId = (int) $data['query_id'];
190
-        $entity->cacheId = (int) $data['cache_id'];
189
+        $entity->queryId = (int)$data['query_id'];
190
+        $entity->cacheId = (int)$data['cache_id'];
191 191
 
192 192
         return $entity;
193 193
     }
Please login to merge, or discard this patch.
local/devel/Repositories/CacheDescModifiedRepository.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->cacheId = (int) $this->connection->lastInsertId();
124
+        $entity->cacheId = (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 GeoCacheDescModifiedEntity();
197
-        $entity->cacheId = (int) $data['cache_id'];
198
-        $entity->language = (string) $data['language'];
197
+        $entity->cacheId = (int)$data['cache_id'];
198
+        $entity->language = (string)$data['language'];
199 199
         $entity->dateModified = new DateTime($data['date_modified']);
200 200
         $entity->dateCreated = new DateTime($data['date_created']);
201
-        $entity->desc = (string) $data['desc'];
202
-        $entity->descHtml = (int) $data['desc_html'];
203
-        $entity->descHtmledit = (int) $data['desc_htmledit'];
204
-        $entity->hint = (string) $data['hint'];
205
-        $entity->shortDesc = (string) $data['short_desc'];
206
-        $entity->restoredBy = (int) $data['restored_by'];
201
+        $entity->desc = (string)$data['desc'];
202
+        $entity->descHtml = (int)$data['desc_html'];
203
+        $entity->descHtmledit = (int)$data['desc_htmledit'];
204
+        $entity->hint = (string)$data['hint'];
205
+        $entity->shortDesc = (string)$data['short_desc'];
206
+        $entity->restoredBy = (int)$data['restored_by'];
207 207
 
208 208
         return $entity;
209 209
     }
Please login to merge, or discard this patch.