@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace VideoGamesRecords\CoreBundle\Model\Api; |
4 | 4 | |
5 | -Class PlayerChart |
|
5 | +class PlayerChart |
|
6 | 6 | { |
7 | 7 | private $idPlayer; |
8 | 8 | private $idChart; |
@@ -25,7 +25,7 @@ |
||
25 | 25 | { |
26 | 26 | |
27 | 27 | /** @var \VideoGamesRecords\CoreBundle\Model\Api\PlayerChart $object */ |
28 | - $object = $this->get('serializer')->deserialize($request->getContent(), 'VideoGamesRecords\CoreBundle\Model\Api\PlayerChart', 'json'); |
|
28 | + $object = $this->get('serializer')->deserialize($request->getContent(), 'VideoGamesRecords\CoreBundle\Model\Api\PlayerChart', 'json'); |
|
29 | 29 | |
30 | 30 | //@todo get idPlayer From Authentification |
31 | 31 | $idPlayer = $object->getIdPlayer(); |