Completed
Push — master ( 7f9afc...f8f144 )
by James Ekow Abaka
03:04
created
src/relationships/BelongsToRelationship.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
             $this->options['foreign_key'] = $model->getDescription()->getPrimaryKey()[0];
54 54
         }
55 55
         if ($this->options['local_key'] == null) {
56
-            $this->options['local_key'] = Text::singularize($table) . '_id';
56
+            $this->options['local_key'] = Text::singularize($table).'_id';
57 57
         }
58 58
     }
59 59
 
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@
 block discarded – undo
26 26
 
27 27
 namespace ntentan\nibii\relationships;
28 28
 
29
-use ntentan\utils\Text;
30 29
 use ntentan\nibii\ORMContext;
30
+use ntentan\utils\Text;
31 31
 
32 32
 class BelongsToRelationship extends \ntentan\nibii\Relationship
33 33
 {
Please login to merge, or discard this patch.