@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | */ |
| 101 | 101 | public function referenceColumnName() |
| 102 | 102 | { |
| 103 | - return $this->case === CASE_UPPER ? 'ID' : 'id'; |
|
| 103 | + return $this->case === CASE_UPPER ? 'ID' : 'id'; |
|
| 104 | 104 | } |
| 105 | 105 | |
| 106 | 106 | /** |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | */ |
| 109 | 109 | public function joinColumnName($propertyName, $className = null) |
| 110 | 110 | { |
| 111 | - return $this->underscore($propertyName) . '_' . $this->referenceColumnName(); |
|
| 111 | + return $this->underscore($propertyName).'_'.$this->referenceColumnName(); |
|
| 112 | 112 | } |
| 113 | 113 | |
| 114 | 114 | /** |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | */ |
| 117 | 117 | public function joinTableName($sourceEntity, $targetEntity, $propertyName = null) |
| 118 | 118 | { |
| 119 | - return $this->classToTableName($sourceEntity) . '_' . $this->classToTableName($targetEntity); |
|
| 119 | + return $this->classToTableName($sourceEntity).'_'.$this->classToTableName($targetEntity); |
|
| 120 | 120 | } |
| 121 | 121 | |
| 122 | 122 | /** |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | */ |
| 125 | 125 | public function joinKeyColumnName($entityName, $referencedColumnName = null) |
| 126 | 126 | { |
| 127 | - return $this->classToTableName($entityName) . '_' . |
|
| 127 | + return $this->classToTableName($entityName).'_'. |
|
| 128 | 128 | ($referencedColumnName ?: $this->referenceColumnName()); |
| 129 | 129 | } |
| 130 | 130 | |