Completed
Push — development ( 36ea37...0d6a9d )
by Thomas
26s queued 11s
created
local/devel/Repositories/CacheLogtypeRepository.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->cacheTypeId = (int) $this->connection->lastInsertId();
124
+        $entity->cacheTypeId = (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 GeoCacheLogtypeEntity();
189
-        $entity->cacheTypeId = (int) $data['cache_type_id'];
190
-        $entity->logTypeId = (int) $data['log_type_id'];
189
+        $entity->cacheTypeId = (int)$data['cache_type_id'];
190
+        $entity->logTypeId = (int)$data['log_type_id'];
191 191
 
192 192
         return $entity;
193 193
     }
Please login to merge, or discard this patch.
local/devel/Repositories/OkapiStatsHourlyRepository.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->consumerKey = (int) $this->connection->lastInsertId();
124
+        $entity->consumerKey = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -192,12 +192,12 @@  discard block
 block discarded – undo
192 192
     public function getEntityFromDatabaseArray(array $data)
193 193
     {
194 194
         $entity = new OkapiStatsHourlyEntity();
195
-        $entity->consumerKey = (string) $data['consumer_key'];
196
-        $entity->userId = (int) $data['user_id'];
195
+        $entity->consumerKey = (string)$data['consumer_key'];
196
+        $entity->userId = (int)$data['user_id'];
197 197
         $entity->periodStart = new DateTime($data['period_start']);
198
-        $entity->serviceName = (string) $data['service_name'];
199
-        $entity->totalCalls = (int) $data['total_calls'];
200
-        $entity->httpCalls = (int) $data['http_calls'];
198
+        $entity->serviceName = (string)$data['service_name'];
199
+        $entity->totalCalls = (int)$data['total_calls'];
200
+        $entity->httpCalls = (int)$data['http_calls'];
201 201
         $entity->totalRuntime = $data['total_runtime'];
202 202
         $entity->httpRuntime = $data['http_runtime'];
203 203
 
Please login to merge, or discard this patch.
local/devel/Repositories/GkMoveRepository.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
     }
@@ -193,15 +193,15 @@  discard block
 block discarded – undo
193 193
     public function getEntityFromDatabaseArray(array $data)
194 194
     {
195 195
         $entity = new GkMoveEntity();
196
-        $entity->id = (int) $data['id'];
197
-        $entity->itemid = (int) $data['itemid'];
196
+        $entity->id = (int)$data['id'];
197
+        $entity->itemid = (int)$data['itemid'];
198 198
         $entity->latitude = $data['latitude'];
199 199
         $entity->longitude = $data['longitude'];
200 200
         $entity->datemoved = new DateTime($data['datemoved']);
201 201
         $entity->datelogged = new DateTime($data['datelogged']);
202
-        $entity->userid = (int) $data['userid'];
203
-        $entity->comment = (string) $data['comment'];
204
-        $entity->logtypeid = (int) $data['logtypeid'];
202
+        $entity->userid = (int)$data['userid'];
203
+        $entity->comment = (string)$data['comment'];
204
+        $entity->logtypeid = (int)$data['logtypeid'];
205 205
 
206 206
         return $entity;
207 207
     }
Please login to merge, or discard this patch.
local/devel/Repositories/OkapiSearchResultsRepository.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->setId = (int) $this->connection->lastInsertId();
124
+        $entity->setId = (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 OkapiSearchResultsEntity();
189
-        $entity->setId = (int) $data['set_id'];
190
-        $entity->cacheId = (int) $data['cache_id'];
189
+        $entity->setId = (int)$data['set_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/GeodbLocationsRepository.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->locId = (int) $this->connection->lastInsertId();
124
+        $entity->locId = (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 GeodbLocationsEntity();
189
-        $entity->locId = (int) $data['loc_id'];
190
-        $entity->locType = (int) $data['loc_type'];
189
+        $entity->locId = (int)$data['loc_id'];
190
+        $entity->locType = (int)$data['loc_type'];
191 191
 
192 192
         return $entity;
193 193
     }
Please login to merge, or discard this patch.
local/devel/Repositories/CacheNpaAreasRepository.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->cacheId = (int) $this->connection->lastInsertId();
124
+        $entity->cacheId = (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 GeoCacheNpaAreasEntity();
190
-        $entity->cacheId = (int) $data['cache_id'];
191
-        $entity->npaId = (int) $data['npa_id'];
192
-        $entity->calculated = (int) $data['calculated'];
190
+        $entity->cacheId = (int)$data['cache_id'];
191
+        $entity->npaId = (int)$data['npa_id'];
192
+        $entity->calculated = (int)$data['calculated'];
193 193
 
194 194
         return $entity;
195 195
     }
Please login to merge, or discard this patch.
local/devel/Repositories/WatchesLogqueueRepository.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->logId = (int) $this->connection->lastInsertId();
124
+        $entity->logId = (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 WatchesLogqueueEntity();
189
-        $entity->logId = (int) $data['log_id'];
190
-        $entity->userId = (int) $data['user_id'];
189
+        $entity->logId = (int)$data['log_id'];
190
+        $entity->userId = (int)$data['user_id'];
191 191
 
192 192
         return $entity;
193 193
     }
Please login to merge, or discard this patch.
local/devel/Repositories/WaypointReportsRepository.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->reportId = (int) $this->connection->lastInsertId();
124
+        $entity->reportId = (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 WaypointReportsEntity();
193
-        $entity->reportId = (int) $data['report_id'];
193
+        $entity->reportId = (int)$data['report_id'];
194 194
         $entity->dateReported = new DateTime($data['date_reported']);
195
-        $entity->wpOc = (string) $data['wp_oc'];
196
-        $entity->wpExternal = (string) $data['wp_external'];
197
-        $entity->source = (string) $data['source'];
198
-        $entity->gcwpProcessed = (int) $data['gcwp_processed'];
195
+        $entity->wpOc = (string)$data['wp_oc'];
196
+        $entity->wpExternal = (string)$data['wp_external'];
197
+        $entity->source = (string)$data['source'];
198
+        $entity->gcwpProcessed = (int)$data['gcwp_processed'];
199 199
 
200 200
         return $entity;
201 201
     }
Please login to merge, or discard this patch.
local/devel/Repositories/ObjectTypesRepository.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->id = (int) $this->connection->lastInsertId();
124
+        $entity->id = (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 ObjectTypesEntity();
189
-        $entity->id = (int) $data['id'];
190
-        $entity->name = (string) $data['name'];
189
+        $entity->id = (int)$data['id'];
190
+        $entity->name = (string)$data['name'];
191 191
 
192 192
         return $entity;
193 193
     }
Please login to merge, or discard this patch.