Completed
Push — master ( 0f0d6a...e070b7 )
by Rougin
05:03
created
src/Generator/ViewGenerator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         $data['plural'] = plural($data['name']);
45 45
         $data['singular'] = singular($data['name']);
46 46
 
47
-        $primaryKey = 'get_' . $this->describe->getPrimaryKey($data['name']);
47
+        $primaryKey = 'get_'.$this->describe->getPrimaryKey($data['name']);
48 48
         $data['primaryKey'] = $primaryKey;
49 49
 
50 50
         if ($this->data['isCamel']) {
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 
86 86
                 $this->data['foreignKeys'][$field] = plural($referencedTable);
87 87
 
88
-                $singular = $field . '_singular';
88
+                $singular = $field.'_singular';
89 89
 
90 90
                 $this->data['foreignKeys'][$singular] = singular(
91 91
                     $referencedTable
Please login to merge, or discard this patch.