Passed
Push — develop ( f13845...a7fe95 )
by nguereza
01:43
created
src/Relation/ShareRelation.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -260,11 +260,11 @@  discard block
 block discarded – undo
260 260
             }
261 261
         };
262 262
 
263
-        $linkKey = new ForeignKey(array_map(function ($value) use ($junctionTable) {
263
+        $linkKey = new ForeignKey(array_map(function($value) use ($junctionTable) {
264 264
             return 'hidden_' . $junctionTable . $value;
265 265
         }, $this->foreignKey->columns()));
266 266
 
267
-        $select->join($joinTable, function (Join $join) use ($junctionTable, $joinTable) {
267
+        $select->join($joinTable, function(Join $join) use ($junctionTable, $joinTable) {
268 268
             if ($this->junction !== null) {
269 269
                 foreach ($this->junction->columns() as $pkColumn => $fkColumn) {
270 270
                     $join->on($junctionTable . '.' . $fkColumn, $joinTable . '.' . $pkColumn);
@@ -370,7 +370,7 @@  discard block
 block discarded – undo
370 370
             }
371 371
         };
372 372
 
373
-        $select->join($joinTable, function (Join $join) use ($junctionTable, $joinTable) {
373
+        $select->join($joinTable, function(Join $join) use ($junctionTable, $joinTable) {
374 374
             if ($this->junction !== null) {
375 375
                 foreach ($this->junction->columns() as $pkColumn => $fkColumn) {
376 376
                     $join->on($junctionTable . '.' . $fkColumn, $joinTable . '.' . $pkColumn);
Please login to merge, or discard this patch.