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