Completed
Push — development ( d440e2...d59298 )
by Thomas
24:27 queued 10:42
created
local/devel/Repositories/NpaTypesRepository.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 NpaTypesEntity();
191
-        $entity->id = (string) $data['id'];
192
-        $entity->name = (string) $data['name'];
193
-        $entity->ordinal = (int) $data['ordinal'];
194
-        $entity->noWarning = (int) $data['no_warning'];
191
+        $entity->id = (string)$data['id'];
192
+        $entity->name = (string)$data['name'];
193
+        $entity->ordinal = (int)$data['ordinal'];
194
+        $entity->noWarning = (int)$data['no_warning'];
195 195
 
196 196
         return $entity;
197 197
     }
Please login to merge, or discard this patch.
local/devel/Repositories/QueriesRepository.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 QueriesEntity();
192
-        $entity->id = (int) $data['id'];
193
-        $entity->userId = (int) $data['user_id'];
194
-        $entity->name = (string) $data['name'];
195
-        $entity->options = (string) $data['options'];
192
+        $entity->id = (int)$data['id'];
193
+        $entity->userId = (int)$data['user_id'];
194
+        $entity->name = (string)$data['name'];
195
+        $entity->options = (string)$data['options'];
196 196
         $entity->lastQueried = new DateTime($data['last_queried']);
197 197
 
198 198
         return $entity;
Please login to merge, or discard this patch.
local/devel/Repositories/NpaAreasRepository.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 NpaAreasEntity();
192
-        $entity->id = (int) $data['id'];
193
-        $entity->typeId = (string) $data['type_id'];
194
-        $entity->exclude = (int) $data['exclude'];
195
-        $entity->name = (string) $data['name'];
192
+        $entity->id = (int)$data['id'];
193
+        $entity->typeId = (string)$data['type_id'];
194
+        $entity->exclude = (int)$data['exclude'];
195
+        $entity->name = (string)$data['name'];
196 196
         $entity->shape = $data['shape'];
197 197
 
198 198
         return $entity;
Please login to merge, or discard this patch.
local/devel/Repositories/TownsRepository.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->country = (int) $this->connection->lastInsertId();
124
+        $entity->country = (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 TownsEntity();
193
-        $entity->country = (string) $data['country'];
194
-        $entity->name = (string) $data['name'];
195
-        $entity->transId = (int) $data['trans_id'];
193
+        $entity->country = (string)$data['country'];
194
+        $entity->name = (string)$data['name'];
195
+        $entity->transId = (int)$data['trans_id'];
196 196
         $entity->coordLat = $data['coord_lat'];
197 197
         $entity->coordLong = $data['coord_long'];
198
-        $entity->maplist = (int) $data['maplist'];
198
+        $entity->maplist = (int)$data['maplist'];
199 199
 
200 200
         return $entity;
201 201
     }
Please login to merge, or discard this patch.
local/devel/Repositories/SearchDoublesRepository.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->hash = (int) $this->connection->lastInsertId();
124
+        $entity->hash = (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 SearchDoublesEntity();
190
-        $entity->hash = (int) $data['hash'];
191
-        $entity->word = (string) $data['word'];
192
-        $entity->simple = (string) $data['simple'];
190
+        $entity->hash = (int)$data['hash'];
191
+        $entity->word = (string)$data['word'];
192
+        $entity->simple = (string)$data['simple'];
193 193
 
194 194
         return $entity;
195 195
     }
Please login to merge, or discard this patch.
local/devel/Repositories/SysTransTextRepository.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->transId = (int) $this->connection->lastInsertId();
124
+        $entity->transId = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -188,9 +188,9 @@  discard block
 block discarded – undo
188 188
     public function getEntityFromDatabaseArray(array $data)
189 189
     {
190 190
         $entity = new SysTransTextEntity();
191
-        $entity->transId = (int) $data['trans_id'];
192
-        $entity->lang = (string) $data['lang'];
193
-        $entity->text = (string) $data['text'];
191
+        $entity->transId = (int)$data['trans_id'];
192
+        $entity->lang = (string)$data['lang'];
193
+        $entity->text = (string)$data['text'];
194 194
         $entity->lastModified = new DateTime($data['last_modified']);
195 195
 
196 196
         return $entity;
Please login to merge, or discard this patch.
local/devel/Repositories/SysReplTimestampRepository.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->id = (int) $this->connection->lastInsertId();
124
+        $entity->id = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
     public function getEntityFromDatabaseArray(array $data)
187 187
     {
188 188
         $entity = new SysReplTimestampEntity();
189
-        $entity->id = (int) $data['id'];
189
+        $entity->id = (int)$data['id'];
190 190
         $entity->data = new DateTime($data['data']);
191 191
 
192 192
         return $entity;
Please login to merge, or discard this patch.
local/devel/Repositories/OkapiSubmittedObjectsRepository.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->objectType = (int) $this->connection->lastInsertId();
124
+        $entity->objectType = (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 OkapiSubmittedObjectsEntity();
190
-        $entity->objectType = (int) $data['object_type'];
191
-        $entity->objectId = (int) $data['object_id'];
192
-        $entity->consumerKey = (string) $data['consumer_key'];
190
+        $entity->objectType = (int)$data['object_type'];
191
+        $entity->objectId = (int)$data['object_id'];
192
+        $entity->consumerKey = (string)$data['consumer_key'];
193 193
 
194 194
         return $entity;
195 195
     }
Please login to merge, or discard this patch.
local/devel/Repositories/OkapiTileStatusRepository.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->z = (int) $this->connection->lastInsertId();
124
+        $entity->z = (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 OkapiTileStatusEntity();
191
-        $entity->z = (int) $data['z'];
192
-        $entity->x = (int) $data['x'];
193
-        $entity->y = (int) $data['y'];
194
-        $entity->status = (int) $data['status'];
191
+        $entity->z = (int)$data['z'];
192
+        $entity->x = (int)$data['x'];
193
+        $entity->y = (int)$data['y'];
194
+        $entity->status = (int)$data['status'];
195 195
 
196 196
         return $entity;
197 197
     }
Please login to merge, or discard this patch.