From 87e29f23a09bbe3a8d093a764f4ad31e2a27dd5f Mon Sep 17 00:00:00 2001 From: Ruben Date: Sun, 4 Sep 2016 12:07:03 +0100 Subject: [PATCH] Fix JMS annotation --- src/Models/Hit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Models/Hit.php b/src/Models/Hit.php index 94d0f7d..e034256 100644 --- a/src/Models/Hit.php +++ b/src/Models/Hit.php @@ -37,6 +37,7 @@ class Hit /** * @ORM\ManyToOne(targetEntity="Game", inversedBy="hits", cascade={"persist"}) * @ORM\JoinColumn(name="game_id", referencedColumnName="id", nullable=false) + * @JMS\Exclude */ private $game; @@ -633,7 +634,6 @@ class Hit /** * Gets the value of game. - * @JMS\Exclude * @return mixed */ public function getGame()