Completed
Push — development ( 9e3728...14ea30 )
by Thomas
20s queued 12s
created
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.
local/devel/Repositories/CachesAttributesModifiedRepository.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->cacheId = (int) $this->connection->lastInsertId();
124
+        $entity->cacheId = (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 GeoCachesAttributesModifiedEntity();
192
-        $entity->cacheId = (int) $data['cache_id'];
193
-        $entity->attribId = (int) $data['attrib_id'];
192
+        $entity->cacheId = (int)$data['cache_id'];
193
+        $entity->attribId = (int)$data['attrib_id'];
194 194
         $entity->dateModified = new DateTime($data['date_modified']);
195
-        $entity->wasSet = (int) $data['was_set'];
196
-        $entity->restoredBy = (int) $data['restored_by'];
195
+        $entity->wasSet = (int)$data['was_set'];
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/SavedTextsRepository.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
     }
@@ -190,12 +190,12 @@  discard block
 block discarded – undo
190 190
     public function getEntityFromDatabaseArray(array $data)
191 191
     {
192 192
         $entity = new SavedTextsEntity();
193
-        $entity->id = (int) $data['id'];
193
+        $entity->id = (int)$data['id'];
194 194
         $entity->dateCreated = new DateTime($data['date_created']);
195
-        $entity->objectType = (int) $data['object_type'];
196
-        $entity->objectId = (int) $data['object_id'];
197
-        $entity->subtype = (int) $data['subtype'];
198
-        $entity->text = (string) $data['text'];
195
+        $entity->objectType = (int)$data['object_type'];
196
+        $entity->objectId = (int)$data['object_id'];
197
+        $entity->subtype = (int)$data['subtype'];
198
+        $entity->text = (string)$data['text'];
199 199
 
200 200
         return $entity;
201 201
     }
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/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/AttributeGroupsRepository.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 AttributeGroupsEntity();
191
-        $entity->id = (int) $data['id'];
192
-        $entity->categoryId = (int) $data['category_id'];
193
-        $entity->name = (string) $data['name'];
194
-        $entity->transId = (int) $data['trans_id'];
191
+        $entity->id = (int)$data['id'];
192
+        $entity->categoryId = (int)$data['category_id'];
193
+        $entity->name = (string)$data['name'];
194
+        $entity->transId = (int)$data['trans_id'];
195 195
 
196 196
         return $entity;
197 197
     }
Please login to merge, or discard this patch.
local/devel/Repositories/LoginsRepository.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,10 +189,10 @@  discard block
 block discarded – undo
189 189
     public function getEntityFromDatabaseArray(array $data)
190 190
     {
191 191
         $entity = new LoginsEntity();
192
-        $entity->id = (int) $data['id'];
193
-        $entity->userId = (int) $data['user_id'];
194
-        $entity->remoteAddr = (string) $data['remote_addr'];
195
-        $entity->success = (int) $data['success'];
192
+        $entity->id = (int)$data['id'];
193
+        $entity->userId = (int)$data['user_id'];
194
+        $entity->remoteAddr = (string)$data['remote_addr'];
195
+        $entity->success = (int)$data['success'];
196 196
         $entity->timestamp = new DateTime($data['timestamp']);
197 197
 
198 198
         return $entity;
Please login to merge, or discard this patch.
local/devel/Repositories/GkUserRepository.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 GkUserEntity();
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.