Fix JMS annotation

This commit is contained in:
Ruben 2016-09-04 12:07:03 +01:00
parent 6b5ddabf93
commit 87e29f23a0

View file

@ -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()