Completed
Pull Request — development (#720)
by Thomas
06:42
created
local/devel/Repositories/OkapiClogRepository.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 OkapiClogEntity();
189
-        $entity->id = (int) $data['id'];
190
-        $entity->data = (string) $data['data'];
189
+        $entity->id = (int)$data['id'];
190
+        $entity->data = (string)$data['data'];
191 191
 
192 192
         return $entity;
193 193
     }
Please login to merge, or discard this patch.
local/devel/Repositories/LanguagesListDefaultRepository.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 LanguagesListDefaultEntity();
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/CacheListWatchesRepository.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->cacheListId = (int) $this->connection->lastInsertId();
124
+        $entity->cacheListId = (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 GeoCacheListWatchesEntity();
189
-        $entity->cacheListId = (int) $data['cache_list_id'];
190
-        $entity->userId = (int) $data['user_id'];
189
+        $entity->cacheListId = (int)$data['cache_list_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/SysMenuRepository.php 1 patch
Spacing   +13 added lines, -13 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
     }
@@ -199,19 +199,19 @@  discard block
 block discarded – undo
199 199
     {
200 200
         $entity = new SysMenuEntity();
201 201
         $entity->id = $data['id'];
202
-        $entity->idString = (string) $data['id_string'];
203
-        $entity->title = (string) $data['title'];
204
-        $entity->titleTransId = (int) $data['title_trans_id'];
205
-        $entity->menustring = (string) $data['menustring'];
206
-        $entity->menustringTransId = (int) $data['menustring_trans_id'];
207
-        $entity->access = (int) $data['access'];
208
-        $entity->href = (string) $data['href'];
209
-        $entity->visible = (int) $data['visible'];
202
+        $entity->idString = (string)$data['id_string'];
203
+        $entity->title = (string)$data['title'];
204
+        $entity->titleTransId = (int)$data['title_trans_id'];
205
+        $entity->menustring = (string)$data['menustring'];
206
+        $entity->menustringTransId = (int)$data['menustring_trans_id'];
207
+        $entity->access = (int)$data['access'];
208
+        $entity->href = (string)$data['href'];
209
+        $entity->visible = (int)$data['visible'];
210 210
         $entity->parent = $data['parent'];
211
-        $entity->position = (int) $data['position'];
212
-        $entity->color = (string) $data['color'];
213
-        $entity->sitemap = (int) $data['sitemap'];
214
-        $entity->onlyIfParent = (int) $data['only_if_parent'];
211
+        $entity->position = (int)$data['position'];
212
+        $entity->color = (string)$data['color'];
213
+        $entity->sitemap = (int)$data['sitemap'];
214
+        $entity->onlyIfParent = (int)$data['only_if_parent'];
215 215
 
216 216
         return $entity;
217 217
     }
Please login to merge, or discard this patch.
local/devel/Repositories/GeodbIntdataRepository.php 1 patch
Spacing   +9 added lines, -9 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
     }
@@ -192,14 +192,14 @@  discard block
 block discarded – undo
192 192
     public function getEntityFromDatabaseArray(array $data)
193 193
     {
194 194
         $entity = new GeodbIntdataEntity();
195
-        $entity->locId = (int) $data['loc_id'];
196
-        $entity->intVal = (int) $data['int_val'];
197
-        $entity->intType = (int) $data['int_type'];
198
-        $entity->intSubtype = (int) $data['int_subtype'];
199
-        $entity->validSince =  new DateTime($data['valid_since']);
200
-        $entity->dateTypeSince = (int) $data['date_type_since'];
201
-        $entity->validUntil =  new DateTime($data['valid_until']);
202
-        $entity->dateTypeUntil = (int) $data['date_type_until'];
195
+        $entity->locId = (int)$data['loc_id'];
196
+        $entity->intVal = (int)$data['int_val'];
197
+        $entity->intType = (int)$data['int_type'];
198
+        $entity->intSubtype = (int)$data['int_subtype'];
199
+        $entity->validSince = new DateTime($data['valid_since']);
200
+        $entity->dateTypeSince = (int)$data['date_type_since'];
201
+        $entity->validUntil = new DateTime($data['valid_until']);
202
+        $entity->dateTypeUntil = (int)$data['date_type_until'];
203 203
 
204 204
         return $entity;
205 205
     }
Please login to merge, or discard this patch.
local/devel/Repositories/UserDelegatesRepository.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->userId = (int) $this->connection->lastInsertId();
124
+        $entity->userId = (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 UserDelegatesEntity();
190
-        $entity->userId = (int) $data['user_id'];
191
-        $entity->node = (int) $data['node'];
192
-        $entity->dateCreated =  new DateTime($data['date_created']);
190
+        $entity->userId = (int)$data['user_id'];
191
+        $entity->node = (int)$data['node'];
192
+        $entity->dateCreated = new DateTime($data['date_created']);
193 193
 
194 194
         return $entity;
195 195
     }
Please login to merge, or discard this patch.
local/devel/Repositories/SysTransRefRepository.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
     }
@@ -187,9 +187,9 @@  discard block
 block discarded – undo
187 187
     public function getEntityFromDatabaseArray(array $data)
188 188
     {
189 189
         $entity = new SysTransRefEntity();
190
-        $entity->transId = (int) $data['trans_id'];
191
-        $entity->resourceName = (string) $data['resource_name'];
192
-        $entity->line = (int) $data['line'];
190
+        $entity->transId = (int)$data['trans_id'];
191
+        $entity->resourceName = (string)$data['resource_name'];
192
+        $entity->line = (int)$data['line'];
193 193
 
194 194
         return $entity;
195 195
     }
Please login to merge, or discard this patch.
local/devel/Repositories/OkapiStatsTempRepository.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->datetime = (int) $this->connection->lastInsertId();
124
+        $entity->datetime = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -190,10 +190,10 @@  discard block
 block discarded – undo
190 190
     public function getEntityFromDatabaseArray(array $data)
191 191
     {
192 192
         $entity = new OkapiStatsTempEntity();
193
-        $entity->datetime =  new DateTime($data['datetime']);
194
-        $entity->consumerKey = (string) $data['consumer_key'];
195
-        $entity->userId = (int) $data['user_id'];
196
-        $entity->serviceName = (string) $data['service_name'];
193
+        $entity->datetime = new DateTime($data['datetime']);
194
+        $entity->consumerKey = (string)$data['consumer_key'];
195
+        $entity->userId = (int)$data['user_id'];
196
+        $entity->serviceName = (string)$data['service_name'];
197 197
         $entity->calltype = $data['calltype'];
198 198
         $entity->runtime = $data['runtime'];
199 199
 
Please login to merge, or discard this patch.
local/devel/Repositories/SysReplExcludeRepository.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->userId = (int) $this->connection->lastInsertId();
124
+        $entity->userId = (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 SysReplExcludeEntity();
189
-        $entity->userId = (int) $data['user_id'];
190
-        $entity->datExclude =  new DateTime($data['datExclude']);
189
+        $entity->userId = (int)$data['user_id'];
190
+        $entity->datExclude = new DateTime($data['datExclude']);
191 191
 
192 192
         return $entity;
193 193
     }
Please login to merge, or discard this patch.