Completed
Push — next ( 8119eb...ae8da3 )
by Thomas
19s queued 12s
created
local/devel/Repositories/WatchesNotifiedRepository.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 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'];
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 196
         $entity->dateCreated = new DateTime($data['date_created']);
197 197
 
198 198
         return $entity;
Please login to merge, or discard this patch.
local/devel/Repositories/RatingTopsRepository.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 RatingTopsEntity();
189
-        $entity->cacheId = (int) $data['cache_id'];
190
-        $entity->rating = (int) $data['rating'];
189
+        $entity->cacheId = (int)$data['cache_id'];
190
+        $entity->rating = (int)$data['rating'];
191 191
 
192 192
         return $entity;
193 193
     }
Please login to merge, or discard this patch.
local/devel/Repositories/SearchIndexRepository.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->objectType = (int) $this->connection->lastInsertId();
124
+        $entity->objectType = (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 SearchIndexEntity();
191
-        $entity->objectType = (int) $data['object_type'];
192
-        $entity->cacheId = (int) $data['cache_id'];
193
-        $entity->hash = (int) $data['hash'];
194
-        $entity->count = (int) $data['count'];
191
+        $entity->objectType = (int)$data['object_type'];
192
+        $entity->cacheId = (int)$data['cache_id'];
193
+        $entity->hash = (int)$data['hash'];
194
+        $entity->count = (int)$data['count'];
195 195
 
196 196
         return $entity;
197 197
     }
Please login to merge, or discard this patch.
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/CacheAdoptionRepository.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
     }
@@ -187,8 +187,8 @@  discard block
 block discarded – undo
187 187
     public function getEntityFromDatabaseArray(array $data)
188 188
     {
189 189
         $entity = new GeoCacheAdoptionEntity();
190
-        $entity->cacheId = (int) $data['cache_id'];
191
-        $entity->userId = (int) $data['user_id'];
190
+        $entity->cacheId = (int)$data['cache_id'];
191
+        $entity->userId = (int)$data['user_id'];
192 192
         $entity->dateCreated = new DateTime($data['date_created']);
193 193
 
194 194
         return $entity;
Please login to merge, or discard this patch.
local/devel/Repositories/CacheAttribRepository.php 1 patch
Spacing   +19 added lines, -19 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
     }
@@ -202,24 +202,24 @@  discard block
 block discarded – undo
202 202
     public function getEntityFromDatabaseArray(array $data)
203 203
     {
204 204
         $entity = new GeoCacheAttribEntity();
205
-        $entity->id = (int) $data['id'];
206
-        $entity->name = (string) $data['name'];
207
-        $entity->icon = (string) $data['icon'];
208
-        $entity->transId = (int) $data['trans_id'];
209
-        $entity->groupId = (int) $data['group_id'];
210
-        $entity->selectable = (int) $data['selectable'];
211
-        $entity->category = (int) $data['category'];
212
-        $entity->searchDefault = (int) $data['search_default'];
213
-        $entity->default = (int) $data['default'];
214
-        $entity->iconLarge = (string) $data['icon_large'];
215
-        $entity->iconNo = (string) $data['icon_no'];
216
-        $entity->iconUndef = (string) $data['icon_undef'];
217
-        $entity->htmlDesc = (string) $data['html_desc'];
218
-        $entity->htmlDescTransId = (int) $data['html_desc_trans_id'];
219
-        $entity->hidden = (int) $data['hidden'];
220
-        $entity->gcId = (int) $data['gc_id'];
221
-        $entity->gcInc = (int) $data['gc_inc'];
222
-        $entity->gcName = (string) $data['gc_name'];
205
+        $entity->id = (int)$data['id'];
206
+        $entity->name = (string)$data['name'];
207
+        $entity->icon = (string)$data['icon'];
208
+        $entity->transId = (int)$data['trans_id'];
209
+        $entity->groupId = (int)$data['group_id'];
210
+        $entity->selectable = (int)$data['selectable'];
211
+        $entity->category = (int)$data['category'];
212
+        $entity->searchDefault = (int)$data['search_default'];
213
+        $entity->default = (int)$data['default'];
214
+        $entity->iconLarge = (string)$data['icon_large'];
215
+        $entity->iconNo = (string)$data['icon_no'];
216
+        $entity->iconUndef = (string)$data['icon_undef'];
217
+        $entity->htmlDesc = (string)$data['html_desc'];
218
+        $entity->htmlDescTransId = (int)$data['html_desc_trans_id'];
219
+        $entity->hidden = (int)$data['hidden'];
220
+        $entity->gcId = (int)$data['gc_id'];
221
+        $entity->gcInc = (int)$data['gc_inc'];
222
+        $entity->gcName = (string)$data['gc_name'];
223 223
 
224 224
         return $entity;
225 225
     }
Please login to merge, or discard this patch.
local/devel/Repositories/GkMoveTypeRepository.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 GkMoveTypeEntity();
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/CoordinatesTypeRepository.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 CoordinatesTypeEntity();
193
-        $entity->id = (int) $data['id'];
194
-        $entity->name = (string) $data['name'];
195
-        $entity->transId = (int) $data['trans_id'];
196
-        $entity->image = (string) $data['image'];
197
-        $entity->preposition = (string) $data['preposition'];
198
-        $entity->ppTransId = (int) $data['pp_trans_id'];
193
+        $entity->id = (int)$data['id'];
194
+        $entity->name = (string)$data['name'];
195
+        $entity->transId = (int)$data['trans_id'];
196
+        $entity->image = (string)$data['image'];
197
+        $entity->preposition = (string)$data['preposition'];
198
+        $entity->ppTransId = (int)$data['pp_trans_id'];
199 199
 
200 200
         return $entity;
201 201
     }
Please login to merge, or discard this patch.
local/devel/Repositories/GeodbCoordinatesRepository.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->locId = (int) $this->connection->lastInsertId();
124
+        $entity->locId = (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 GeodbCoordinatesEntity();
196
-        $entity->locId = (int) $data['loc_id'];
196
+        $entity->locId = (int)$data['loc_id'];
197 197
         $entity->lon = $data['lon'];
198 198
         $entity->lat = $data['lat'];
199
-        $entity->coordType = (int) $data['coord_type'];
200
-        $entity->coordSubtype = (int) $data['coord_subtype'];
199
+        $entity->coordType = (int)$data['coord_type'];
200
+        $entity->coordSubtype = (int)$data['coord_subtype'];
201 201
         $entity->validSince = new DateTime($data['valid_since']);
202
-        $entity->dateTypeSince = (int) $data['date_type_since'];
202
+        $entity->dateTypeSince = (int)$data['date_type_since'];
203 203
         $entity->validUntil = new DateTime($data['valid_until']);
204
-        $entity->dateTypeUntil = (int) $data['date_type_until'];
204
+        $entity->dateTypeUntil = (int)$data['date_type_until'];
205 205
 
206 206
         return $entity;
207 207
     }
Please login to merge, or discard this patch.