@@ -228,7 +228,7 @@ |
||
| 228 | 228 | * @Method({"GET", "POST"}) |
| 229 | 229 | * |
| 230 | 230 | * @throws AccessDeniedException |
| 231 | - * @return array |
|
| 231 | + * @return RedirectResponse |
|
| 232 | 232 | */ |
| 233 | 233 | public function deleteAction(Request $request, $id) |
| 234 | 234 | { |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | /** |
| 25 | 25 | * Returns a list of filters. |
| 26 | 26 | * |
| 27 | - * @return array An array of filters |
|
| 27 | + * @return \Twig_SimpleFilter[] An array of filters |
|
| 28 | 28 | */ |
| 29 | 29 | public function getFilters() |
| 30 | 30 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Kunstmaan\VotingBundle\Services; |
| 4 | 4 | |
| 5 | 5 | use Doctrine\ORM\EntityManager; |
| 6 | - |
|
| 7 | 6 | use Kunstmaan\VotingBundle\Event\Facebook\FacebookLikeEvent; |
| 8 | 7 | use Kunstmaan\VotingBundle\Event\Facebook\FacebookSendEvent; |
| 9 | 8 | use Kunstmaan\VotingBundle\Event\LinkedIn\LinkedInShareEvent; |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | 24 | * Constructor |
| 25 | - * @param Object $em entity manager |
|
| 25 | + * @param EntityManager $em entity manager |
|
| 26 | 26 | */ |
| 27 | 27 | public function __construct(EntityManager $em) |
| 28 | 28 | { |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | * Return repository for event |
| 34 | 34 | * @param Event $event event |
| 35 | 35 | * |
| 36 | - * @return Repository |
|
| 36 | + * @return \Doctrine\Common\Persistence\ObjectRepository|null |
|
| 37 | 37 | */ |
| 38 | 38 | public function getRepositoryForEvent($event) |
| 39 | 39 | { |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | * Return a repository By name |
| 67 | 67 | * @param string $name name |
| 68 | 68 | * |
| 69 | - * @return Repository |
|
| 69 | + * @return \Doctrine\Common\Persistence\ObjectRepository |
|
| 70 | 70 | */ |
| 71 | 71 | protected function getRepository($name) |
| 72 | 72 | { |
@@ -12,6 +12,9 @@ |
||
| 12 | 12 | |
| 13 | 13 | class ExceptionController extends AdminListController |
| 14 | 14 | { |
| 15 | + /** |
|
| 16 | + * @return \Kunstmaan\AdminListBundle\AdminList\Configurator\AbstractAdminListConfigurator |
|
| 17 | + */ |
|
| 15 | 18 | private function getAdminListConfigurator() |
| 16 | 19 | { |
| 17 | 20 | if ( !isset($this->configurator) ) { |
@@ -156,7 +156,7 @@ |
||
| 156 | 156 | } |
| 157 | 157 | |
| 158 | 158 | /** |
| 159 | - * @param int $triggered |
|
| 159 | + * @param integer $events |
|
| 160 | 160 | */ |
| 161 | 161 | public function setEvents($events) |
| 162 | 162 | { |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Doctrine\ORM\EntityManager; |
| 6 | 6 | use Kunstmaan\AdminBundle\Helper\FormHelper; |
| 7 | -use Kunstmaan\AdminBundle\Helper\FormWidgets\Tabs\TabInterface; |
|
| 8 | 7 | use Symfony\Component\Form\AbstractType; |
| 9 | 8 | use Symfony\Component\Form\FormBuilderInterface; |
| 10 | 9 | use Symfony\Component\Form\FormView; |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | protected $adminRouteHelper; |
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | - * @return mixed |
|
| 31 | + * @return string |
|
| 32 | 32 | */ |
| 33 | 33 | public function getTemplate() |
| 34 | 34 | { |
@@ -9,8 +9,14 @@ |
||
| 9 | 9 | */ |
| 10 | 10 | interface DataCollectionInterface |
| 11 | 11 | { |
| 12 | + /** |
|
| 13 | + * @return AbstractDataCollector |
|
| 14 | + */ |
|
| 12 | 15 | public function setTemplate($template); |
| 13 | 16 | |
| 17 | + /** |
|
| 18 | + * @return string |
|
| 19 | + */ |
|
| 14 | 20 | public function getTemplate(); |
| 15 | 21 | |
| 16 | 22 | public function getAccessRoles(); |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | - * @return array |
|
| 24 | + * @return string[] |
|
| 25 | 25 | */ |
| 26 | 26 | public function getAccessRoles() |
| 27 | 27 | { |