|
@@ -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.