Completed
Push — master ( 16f241...ce3748 )
by Kirill
02:52
created
src/Processor/DatabaseProcessor/JoinBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
                 ? $this->getAlias($relation)
63 63
                 : $this->getCachedAlias($relation);
64 64
 
65
-            if (! $exists) {
65
+            if (!$exists) {
66 66
                 // Create join
67 67
                 $relationField = Field::new($relation['fieldName'])->toString($alias);
68 68
                 $this->join($builder, $join, $relationField, $relationAlias);
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      */
109 109
     private function getKey(array $relation): string
110 110
     {
111
-        return $relation['sourceEntity'] . '_' . $relation['targetEntity'];
111
+        return $relation['sourceEntity'].'_'.$relation['targetEntity'];
112 112
     }
113 113
 
114 114
     /**
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
     {
131 131
         $key = $this->getKey($relation);
132 132
 
133
-        if (! isset($this->relations[$key])) {
133
+        if (!isset($this->relations[$key])) {
134 134
             return $this->relations[$key] =
135 135
                 $this->query->createAlias(
136 136
                     $relation['sourceEntity'],
Please login to merge, or discard this patch.