| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | public function getSolution(): ?string |
||
| 25 | { |
||
| 26 | return "The primary key of the composite entity must be projected onto the embedded entity.\n" |
||
| 27 | . "However, the embedded entity already has a field with the same name.\n\n" |
||
| 28 | . "Possible solutions:\n" |
||
| 29 | . "- If the conflicting field applies only to an embedded entity, then rename it.\n" |
||
| 30 | . '- If you want to receive the primary key value of a composite entity in this field,' |
||
| 31 | . ' then remove its definition from the column list in the schema.'; |
||
| 32 | } |
||
| 34 |