Merge pull request #5736 from guilliamxavier/patch-3
Fix PHP syntax error in composite-primary-keys.rst
This commit is contained in:
commit
d32a8634aa
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ and year of production as primary keys:
|
|||
/** @Id @Column(type="string") */
|
||||
private $name;
|
||||
/** @Id @Column(type="integer") */
|
||||
private $year
|
||||
private $year;
|
||||
|
||||
public function __construct($name, $year)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue