From 60e2224e6ba0c040f3394081b9663779a60a491a Mon Sep 17 00:00:00 2001 From: Guilliam Xavier Date: Thu, 24 Mar 2016 18:08:58 +0100 Subject: [PATCH] Fix PHP syntax error in composite-primary-keys.rst Add missing semicolon after `private $year` on line 12 of `Car` class example code to fix `Parse error: syntax error, unexpected 'public' (T_PUBLIC), expecting ',' or ';' in [...]/VehicleCatalogue/Model/Car.php on line 14` --- docs/en/tutorials/composite-primary-keys.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/tutorials/composite-primary-keys.rst b/docs/en/tutorials/composite-primary-keys.rst index dd4e49e04..b93d14d09 100644 --- a/docs/en/tutorials/composite-primary-keys.rst +++ b/docs/en/tutorials/composite-primary-keys.rst @@ -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) {