Completed
Pull Request — development (#720)
by Thomas
06:42
created
local/devel/Repositories/StatCacheListsRepository.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 StatCacheListsEntity();
190
-        $entity->cacheListId = (int) $data['cache_list_id'];
191
-        $entity->entries = (int) $data['entries'];
192
-        $entity->watchers = (int) $data['watchers'];
190
+        $entity->cacheListId = (int)$data['cache_list_id'];
191
+        $entity->entries = (int)$data['entries'];
192
+        $entity->watchers = (int)$data['watchers'];
193 193
 
194 194
         return $entity;
195 195
     }
Please login to merge, or discard this patch.
local/devel/Repositories/StatpicsRepository.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 StatpicsEntity();
193
-        $entity->id = (int) $data['id'];
194
-        $entity->tplpath = (string) $data['tplpath'];
195
-        $entity->previewpath = (string) $data['previewpath'];
196
-        $entity->description = (string) $data['description'];
197
-        $entity->transId = (int) $data['trans_id'];
198
-        $entity->maxtextwidth = (int) $data['maxtextwidth'];
193
+        $entity->id = (int)$data['id'];
194
+        $entity->tplpath = (string)$data['tplpath'];
195
+        $entity->previewpath = (string)$data['previewpath'];
196
+        $entity->description = (string)$data['description'];
197
+        $entity->transId = (int)$data['trans_id'];
198
+        $entity->maxtextwidth = (int)$data['maxtextwidth'];
199 199
 
200 200
         return $entity;
201 201
     }
Please login to merge, or discard this patch.
local/devel/Repositories/CoordinatesRepository.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
     }
@@ -195,17 +195,17 @@  discard block
 block discarded – undo
195 195
     public function getEntityFromDatabaseArray(array $data)
196 196
     {
197 197
         $entity = new CoordinatesEntity();
198
-        $entity->id = (int) $data['id'];
199
-        $entity->dateCreated =  new DateTime($data['date_created']);
200
-        $entity->lastModified =  new DateTime($data['last_modified']);
201
-        $entity->type = (int) $data['type'];
202
-        $entity->subtype = (int) $data['subtype'];
198
+        $entity->id = (int)$data['id'];
199
+        $entity->dateCreated = new DateTime($data['date_created']);
200
+        $entity->lastModified = new DateTime($data['last_modified']);
201
+        $entity->type = (int)$data['type'];
202
+        $entity->subtype = (int)$data['subtype'];
203 203
         $entity->latitude = $data['latitude'];
204 204
         $entity->longitude = $data['longitude'];
205
-        $entity->cacheId = (int) $data['cache_id'];
206
-        $entity->userId = (int) $data['user_id'];
207
-        $entity->logId = (int) $data['log_id'];
208
-        $entity->description = (string) $data['description'];
205
+        $entity->cacheId = (int)$data['cache_id'];
206
+        $entity->userId = (int)$data['user_id'];
207
+        $entity->logId = (int)$data['log_id'];
208
+        $entity->description = (string)$data['description'];
209 209
 
210 210
         return $entity;
211 211
     }
Please login to merge, or discard this patch.
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/CacheCoordinatesRepository.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
     }
@@ -190,12 +190,12 @@  discard block
 block discarded – undo
190 190
     public function getEntityFromDatabaseArray(array $data)
191 191
     {
192 192
         $entity = new GeoCacheCoordinatesEntity();
193
-        $entity->id = (int) $data['id'];
194
-        $entity->dateCreated =  new DateTime($data['date_created']);
195
-        $entity->cacheId = (int) $data['cache_id'];
193
+        $entity->id = (int)$data['id'];
194
+        $entity->dateCreated = new DateTime($data['date_created']);
195
+        $entity->cacheId = (int)$data['cache_id'];
196 196
         $entity->longitude = $data['longitude'];
197 197
         $entity->latitude = $data['latitude'];
198
-        $entity->restoredBy = (int) $data['restored_by'];
198
+        $entity->restoredBy = (int)$data['restored_by'];
199 199
 
200 200
         return $entity;
201 201
     }
Please login to merge, or discard this patch.
local/devel/Repositories/CountriesListDefaultRepository.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->lang = (int) $this->connection->lastInsertId();
124
+        $entity->lang = (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 CountriesListDefaultEntity();
189
-        $entity->lang = (string) $data['lang'];
190
-        $entity->show = (string) $data['show'];
189
+        $entity->lang = (string)$data['lang'];
190
+        $entity->show = (string)$data['show'];
191 191
 
192 192
         return $entity;
193 193
     }
Please login to merge, or discard this patch.
local/devel/Repositories/EmailUserRepository.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 EmailUserEntity();
194
-        $entity->id = (int) $data['id'];
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'];
194
+        $entity->id = (int)$data['id'];
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'];
201 201
 
202 202
         return $entity;
203 203
     }
Please login to merge, or discard this patch.
local/devel/Repositories/MapresultRepository.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 MapresultEntity();
189
-        $entity->queryId = (int) $data['query_id'];
190
-        $entity->dateCreated =  new DateTime($data['date_created']);
189
+        $entity->queryId = (int)$data['query_id'];
190
+        $entity->dateCreated = new DateTime($data['date_created']);
191 191
 
192 192
         return $entity;
193 193
     }
Please login to merge, or discard this patch.
local/devel/Repositories/GeodbPolygonsRepository.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->polygonId = (int) $this->connection->lastInsertId();
124
+        $entity->polygonId = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -188,8 +188,8 @@  discard block
 block discarded – undo
188 188
     public function getEntityFromDatabaseArray(array $data)
189 189
     {
190 190
         $entity = new GeodbPolygonsEntity();
191
-        $entity->polygonId = (int) $data['polygon_id'];
192
-        $entity->seqNo = (int) $data['seq_no'];
191
+        $entity->polygonId = (int)$data['polygon_id'];
192
+        $entity->seqNo = (int)$data['seq_no'];
193 193
         $entity->lon = $data['lon'];
194 194
         $entity->lat = $data['lat'];
195 195
 
Please login to merge, or discard this patch.