Completed
Push — master ( 267f53...0f0d6a )
by Rougin
04:34
created
src/Generator/ViewGenerator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,13 +44,13 @@  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
         // Workaround...
51 51
         if ($data['primaryKey'] == 'get_') {
52 52
             $singular = singular($data['name']);
53
-            $primaryKey = 'get_' . $this->describe->getPrimaryKey($singular);
53
+            $primaryKey = 'get_'.$this->describe->getPrimaryKey($singular);
54 54
 
55 55
             $data['primaryKey'] = $primaryKey;
56 56
         }
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 
102 102
                 $this->data['foreignKeys'][$field] = plural($referencedTable);
103 103
 
104
-                $singular = $field . '_singular';
104
+                $singular = $field.'_singular';
105 105
 
106 106
                 $this->data['foreignKeys'][$singular] = singular(
107 107
                     $referencedTable
Please login to merge, or discard this patch.