Completed
Push — master ( e58eb5...5b23f9 )
by James Ekow Abaka
02:57
created
src/relationships/ManyHaveManyRelationship.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,11 +70,11 @@
 block discarded – undo
70 70
         }
71 71
 
72 72
         if (!isset($this->options['junction_local_key'])) {
73
-            $this->options['junction_local_key'] = Text::singularize($this->setupTable) . '_id';
73
+            $this->options['junction_local_key'] = Text::singularize($this->setupTable).'_id';
74 74
         }
75 75
 
76 76
         if (!isset($this->options['junction_foreign_key'])) {
77
-            $this->options['junction_foreign_key'] = Text::singularize($foreignModel->getDBStoreInformation()['table']) . '_id';
77
+            $this->options['junction_foreign_key'] = Text::singularize($foreignModel->getDBStoreInformation()['table']).'_id';
78 78
         }
79 79
     }
80 80
 
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,9 +26,9 @@
 block discarded – undo
26 26
 
27 27
 namespace ntentan\nibii\relationships;
28 28
 
29
-use ntentan\utils\Text;
30
-use ntentan\nibii\ORMContext;
31 29
 use ntentan\nibii\NibiiException;
30
+use ntentan\nibii\ORMContext;
31
+use ntentan\utils\Text;
32 32
 
33 33
 class ManyHaveManyRelationship extends \ntentan\nibii\Relationship
34 34
 {
Please login to merge, or discard this patch.