@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | /** |
79 | 79 | * Get id |
80 | 80 | * |
81 | - * @return UUID |
|
81 | + * @return integer |
|
82 | 82 | */ |
83 | 83 | public function getId() |
84 | 84 | { |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | /** |
158 | 158 | * Get beers |
159 | 159 | * |
160 | - * @return \Doctrine\Common\Collections\Collection |
|
160 | + * @return Beer |
|
161 | 161 | */ |
162 | 162 | public function getBeers() |
163 | 163 | { |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use FOS\RestBundle\Request\ParamFetcher; |
9 | 9 | use Maxpou\BeerBundle\Entity\Beer; |
10 | 10 | use Maxpou\BeerBundle\Form\Type\BeerApiType; |
11 | -use Maxpou\BeerBundle\Form\Type\BeerType; |
|
12 | 11 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
13 | 12 | use Symfony\Component\HttpFoundation\Request; |
14 | 13 | use Symfony\Component\HttpFoundation\Response; |