@@ -117,6 +117,9 @@ |
||
| 117 | 117 | } |
| 118 | 118 | |
| 119 | 119 | |
| 120 | + /** |
|
| 121 | + * @param string $pathInSkeleton |
|
| 122 | + */ |
|
| 120 | 123 | public static function getFullSkeletonPath($pathInSkeleton) |
| 121 | 124 | { |
| 122 | 125 | $pathInSkeleton = trim($pathInSkeleton); |
@@ -71,6 +71,9 @@ |
||
| 71 | 71 | return $form; |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | + /** |
|
| 75 | + * @return string |
|
| 76 | + */ |
|
| 74 | 77 | protected function getSubscriptionFormType() |
| 75 | 78 | { |
| 76 | 79 | return NewsletterSubscriptionType::class; |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * @Route("/{id}/delete", requirements={"id" = "\d+"}, name="kunstmaanleadgenerationbundle_admin_popup_abstractpopup_delete") |
| 59 | 59 | * @Method({"GET", "POST"}) |
| 60 | 60 | * |
| 61 | - * @return array |
|
| 61 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 62 | 62 | */ |
| 63 | 63 | public function deleteAction(Request $request, $id) |
| 64 | 64 | { |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | * @Route("/{id}/edit", requirements={"id" = "\d+"}, name="kunstmaanleadgenerationbundle_admin_popup_abstractpopup_edit") |
| 74 | 74 | * @Method({"GET", "POST"}) |
| 75 | 75 | * |
| 76 | - * @return array |
|
| 76 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 77 | 77 | */ |
| 78 | 78 | public function editAction(Request $request, $id) |
| 79 | 79 | { |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | * @Route("/add", name="kunstmaanleadgenerationbundle_admin_popup_abstractpopup_add") |
| 87 | 87 | * @Method({"GET", "POST"}) |
| 88 | 88 | * |
| 89 | - * @return array |
|
| 89 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 90 | 90 | */ |
| 91 | 91 | public function addAction(Request $request) |
| 92 | 92 | { |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | * @Route("/{popup}/add", requirements={"popup" = "\d+"}, name="kunstmaanleadgenerationbundle_admin_rule_abstractrule_add") |
| 45 | 45 | * @Method({"GET", "POST"}) |
| 46 | 46 | * |
| 47 | - * @return array |
|
| 47 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 48 | 48 | */ |
| 49 | 49 | public function addAction(Request $request, $popup) |
| 50 | 50 | { |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | * @Route("/{popup}/rules/{id}/edit", requirements={"popup" = "\d+", "rule" = "\d+"}, name="kunstmaanleadgenerationbundle_admin_rule_abstractrule_edit") |
| 62 | 62 | * @Method({"GET", "POST"}) |
| 63 | 63 | * |
| 64 | - * @return array |
|
| 64 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 65 | 65 | */ |
| 66 | 66 | public function editAction(Request $request, $id, $popup) |
| 67 | 67 | { |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | * @Route("/{popup}/rules/{id}/delete", requirements={"popup" = "\d+"}, name="kunstmaanleadgenerationbundle_admin_rule_abstractrule_delete") |
| 77 | 77 | * @Method({"GET", "POST"}) |
| 78 | 78 | * |
| 79 | - * @return array |
|
| 79 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 80 | 80 | */ |
| 81 | 81 | public function deleteAction(Request $request, $id, $popup) |
| 82 | 82 | { |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | /** |
| 31 | 31 | * @param string $urls |
| 32 | 32 | * |
| 33 | - * @return UrlWhitelistRule |
|
| 33 | + * @return UrlBlacklistRule |
|
| 34 | 34 | */ |
| 35 | 35 | public function setUrls($urls) |
| 36 | 36 | { |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use Kunstmaan\AdminBundle\FlashMessages\FlashTypes; |
| 7 | 7 | use Kunstmaan\MediaBundle\AdminList\MediaAdminListConfigurator; |
| 8 | 8 | use Kunstmaan\MediaBundle\Entity\Folder; |
| 9 | -use Kunstmaan\MediaBundle\Form\EmptyType; |
|
| 10 | 9 | use Kunstmaan\MediaBundle\Form\FolderType; |
| 11 | 10 | use Kunstmaan\MediaBundle\Helper\MediaManager; |
| 12 | 11 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
@@ -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 | { |