Passed
Push — main ( abdbfe...29aefa )
by Pranjal
02:38
created
src/Model.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -182,9 +182,9 @@  discard block
 block discarded – undo
182 182
 
183 183
         $db = $this->recordManager->find(strtolower((string) $parts[1]));
184 184
         $db->where($this->getName().'_id = :id')
185
-           ->setParameter('id', $this->__meta['id'],
186
-               $this->determineIdType($this->__meta['id'])
187
-           );
185
+            ->setParameter('id', $this->__meta['id'],
186
+                $this->determineIdType($this->__meta['id'])
187
+            );
188 188
 
189 189
         $result = $db->get();
190 190
         $this->set($key, $result);
@@ -203,9 +203,9 @@  discard block
 block discarded – undo
203 203
 
204 204
         $db = $this->recordManager->find($relTable);
205 205
         $db->where($this->getName().'_id = :id')
206
-           ->setParameter('id', $this->__meta['id'],
207
-               $this->determineIdType($this->__meta['id'])
208
-           );
206
+            ->setParameter('id', $this->__meta['id'],
207
+                $this->determineIdType($this->__meta['id'])
208
+            );
209 209
 
210 210
         $relations = $db->get();
211 211
         $relIds = $this->extractRelationIds($relations, $targetTable);
@@ -216,9 +216,9 @@  discard block
 block discarded – undo
216 216
 
217 217
         $db = $this->recordManager->find($targetTable);
218 218
         $db->where('id IN (:ids)')
219
-           ->setParameter('ids', $relIds,
220
-               $this->determineIdsType($relIds)
221
-           );
219
+            ->setParameter('ids', $relIds,
220
+                $this->determineIdsType($relIds)
221
+            );
222 222
 
223 223
         $result = $db->get();
224 224
 
Please login to merge, or discard this patch.