@@ -4,7 +4,6 @@ |
||
| 4 | 4 | namespace Kunstmaan\MediaBundle\Helper\Media; |
| 5 | 5 | |
| 6 | 6 | use Kunstmaan\MediaBundle\Entity\Media; |
| 7 | -use Symfony\Component\Form\AbstractType; |
|
| 8 | 7 | |
| 9 | 8 | abstract class AbstractMediaHandler |
| 10 | 9 | { |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | /** |
| 49 | 49 | * Returns handler with the highest priority to handle the Media item which can handle the item. If no handler is found, it returns FileHandler |
| 50 | 50 | * |
| 51 | - * @param Media|File $media |
|
| 51 | + * @param Media $media |
|
| 52 | 52 | * |
| 53 | 53 | * @return AbstractMediaHandler |
| 54 | 54 | */ |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | } |
| 130 | 130 | |
| 131 | 131 | /** |
| 132 | - * @param mixed $data |
|
| 132 | + * @param \stdClass $data |
|
| 133 | 133 | * |
| 134 | 134 | * @return Media |
| 135 | 135 | */ |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | /** |
| 61 | - * @return mixed |
|
| 61 | + * @return string |
|
| 62 | 62 | */ |
| 63 | 63 | public function getSoundcloudApiKey() |
| 64 | 64 | { |
@@ -28,6 +28,7 @@ |
||
| 28 | 28 | /** |
| 29 | 29 | * Constructor. Takes the configuration of the RemoveVideoHandler |
| 30 | 30 | * @param array $configuration |
| 31 | + * @param integer $priority |
|
| 31 | 32 | */ |
| 32 | 33 | public function __construct($priority, $configuration = array()) |
| 33 | 34 | { |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | /** |
| 130 | 130 | * @param int $folderId |
| 131 | 131 | * |
| 132 | - * @return object |
|
| 132 | + * @return Folder |
|
| 133 | 133 | * @throws EntityNotFoundException |
| 134 | 134 | */ |
| 135 | 135 | public function getFolder($folderId) |
@@ -166,6 +166,7 @@ discard block |
||
| 166 | 166 | |
| 167 | 167 | /** |
| 168 | 168 | * {@inheritdoc} |
| 169 | + * @param Folder $node |
|
| 169 | 170 | */ |
| 170 | 171 | public function getPathQueryBuilder($node) |
| 171 | 172 | { |
@@ -336,7 +337,7 @@ discard block |
||
| 336 | 337 | |
| 337 | 338 | /** |
| 338 | 339 | * @param Folder $folder |
| 339 | - * @param $parent |
|
| 340 | + * @param Folder $parent |
|
| 340 | 341 | */ |
| 341 | 342 | private function persistInOrderedTree(Folder $folder, $parent) |
| 342 | 343 | { |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | * |
| 51 | 51 | * @param Request $request |
| 52 | 52 | * |
| 53 | - * @return array |
|
| 53 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 54 | 54 | */ |
| 55 | 55 | public function indexAction(Request $request) |
| 56 | 56 | { |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Doctrine\ORM\EntityManager; |
| 6 | 6 | use Kunstmaan\AdminBundle\Helper\DomainConfigurationInterface; |
| 7 | -use Kunstmaan\MenuBundle\Entity\Menu; |
|
| 8 | 7 | |
| 9 | 8 | class MenuService |
| 10 | 9 | { |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | class SitesAdminPanelAdaptor implements AdminPanelAdaptorInterface |
| 10 | 10 | { |
| 11 | 11 | /** |
| 12 | - * @return AdminPanelActionInterface[] |
|
| 12 | + * @return AdminPanelAction[] |
|
| 13 | 13 | */ |
| 14 | 14 | public function getAdminPanelActions() |
| 15 | 15 | { |
@@ -171,6 +171,11 @@ |
||
| 171 | 171 | return $listener; |
| 172 | 172 | } |
| 173 | 173 | |
| 174 | + /** |
|
| 175 | + * @param Request $request |
|
| 176 | + * |
|
| 177 | + * @return \Symfony\Component\HttpKernel\Event\FilterResponseEvent |
|
| 178 | + */ |
|
| 174 | 179 | private function getFilterResponseEvent($request, $response, $requestType = HttpKernelInterface::MASTER_REQUEST) |
| 175 | 180 | { |
| 176 | 181 | $event = $this->getMockBuilder('Symfony\Component\HttpKernel\Event\FilterResponseEvent') |