Completed
Push — master ( b5e579...89a77f )
by Adrian
02:30
created
src/Relation/ManyToOne.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
     public function joinSubselect(Query $query, string $reference)
29 29
     {
30 30
         $subselect = $query->subSelectForJoinWith()
31
-                           ->from($this->foreignMapper->getTable())
32
-                           ->columns($this->foreignMapper->getTable() . '.*')
33
-                           ->as($reference);
31
+                            ->from($this->foreignMapper->getTable())
32
+                            ->columns($this->foreignMapper->getTable() . '.*')
33
+                            ->as($reference);
34 34
 
35 35
         $subselect = $this->applyQueryCallback($subselect);
36 36
 
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
             $this->addActionOnSave($action);
109 109
         } else {
110 110
             $foreignEntity = $this->nativeMapper
111
-                                  ->getEntityAttribute($action->getEntity(), $this->name);
111
+                                    ->getEntityAttribute($action->getEntity(), $this->name);
112 112
 
113 113
             if ($foreignEntity) {
114 114
                 $remainingRelations = $this->getRemainingRelations($action->getOption('relations'));
Please login to merge, or discard this patch.
src/Relation/OneToOne.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
             $this->addActionOnSave($action);
35 35
         } else {
36 36
             $foreignEntity = $this->nativeMapper
37
-                                  ->getEntityAttribute($action->getEntity(), $this->name);
37
+                                    ->getEntityAttribute($action->getEntity(), $this->name);
38 38
 
39 39
             if ($foreignEntity) {
40 40
                 $remainingRelations = $this->getRemainingRelations($action->getOption('relations'));
Please login to merge, or discard this patch.