@@ -245,7 +245,7 @@ discard block |
||
| 245 | 245 | } |
| 246 | 246 | |
| 247 | 247 | /** |
| 248 | - * @return mixed |
|
| 248 | + * @return null|Category |
|
| 249 | 249 | */ |
| 250 | 250 | public function getCategory() |
| 251 | 251 | { |
@@ -253,7 +253,7 @@ discard block |
||
| 253 | 253 | } |
| 254 | 254 | |
| 255 | 255 | /** |
| 256 | - * @param mixed $category |
|
| 256 | + * @param null|Category $category |
|
| 257 | 257 | */ |
| 258 | 258 | public function setCategory(Category $category = null) |
| 259 | 259 | { |
@@ -261,7 +261,7 @@ discard block |
||
| 261 | 261 | } |
| 262 | 262 | |
| 263 | 263 | /** |
| 264 | - * @return mixed |
|
| 264 | + * @return ArrayCollection |
|
| 265 | 265 | */ |
| 266 | 266 | public function getQuestions() |
| 267 | 267 | { |
@@ -288,7 +288,7 @@ discard block |
||
| 288 | 288 | } |
| 289 | 289 | |
| 290 | 290 | /** |
| 291 | - * @return mixed |
|
| 291 | + * @return ArrayCollection |
|
| 292 | 292 | */ |
| 293 | 293 | public function getModulesUser() |
| 294 | 294 | { |
@@ -22,7 +22,6 @@ discard block |
||
| 22 | 22 | protected $service; |
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | - * @param ImageManagerServices $container |
|
| 26 | 25 | */ |
| 27 | 26 | public function __construct(ImageManagerServices $service) |
| 28 | 27 | { |
@@ -30,7 +29,7 @@ discard block |
||
| 30 | 29 | } |
| 31 | 30 | |
| 32 | 31 | /** |
| 33 | - * @return array |
|
| 32 | + * @return string[] |
|
| 34 | 33 | */ |
| 35 | 34 | public function getSubscribedEvents() |
| 36 | 35 | { |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace AppBundle\Controller\Admin; |
| 4 | 4 | |
| 5 | -use AppBundle\Entity\Answer; |
|
| 6 | 5 | use AppBundle\Entity\Module; |
| 7 | 6 | use AppBundle\Entity\Question; |
| 8 | 7 | use AppBundle\Form\QuestionType; |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
| 8 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 9 | 9 | use AppBundle\Entity\User; |
| 10 | -use AppBundle\Form\UserType; |
|
| 11 | 10 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
| 12 | 11 | use Symfony\Component\Form\Extension\Core\Type\SubmitType; |
| 13 | 12 | |
@@ -1,23 +1,15 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace AppBundle\Services; |
| 3 | 3 | |
| 4 | -use AppBundle\Entity\Comment; |
|
| 5 | 4 | use AppBundle\Entity\ModuleUser; |
| 6 | 5 | use AppBundle\Entity\PassModule; |
| 7 | 6 | use AppBundle\Form\AnswerForPassType; |
| 8 | -use AppBundle\Form\CommentType; |
|
| 9 | 7 | use AppBundle\Traits\GenerateOutput; |
| 10 | 8 | use Faker\Provider\cs_CZ\DateTime; |
| 11 | -use Knp\Component\Pager\PaginatorInterface; |
|
| 12 | -use Proxies\__CG__\AppBundle\Entity\Module; |
|
| 13 | 9 | use Symfony\Bridge\Doctrine\RegistryInterface; |
| 14 | 10 | use Symfony\Component\Form\Extension\Core\Type\SubmitType; |
| 15 | 11 | use Symfony\Component\Form\FormFactoryInterface; |
| 16 | -use Symfony\Component\HttpFoundation\RedirectResponse; |
|
| 17 | 12 | use Symfony\Component\HttpFoundation\Request; |
| 18 | -use Symfony\Component\HttpKernel\CacheWarmer\WarmableInterface; |
|
| 19 | -use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
|
| 20 | -use Symfony\Component\Routing\RouterInterface; |
|
| 21 | 13 | use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; |
| 22 | 14 | |
| 23 | 15 | class PassManager |