@@ -8,7 +8,6 @@ |
||
| 8 | 8 | use Kunstmaan\SeoBundle\Form\RobotsType; |
| 9 | 9 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 10 | 10 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
| 11 | - |
|
| 12 | 11 | use Symfony\Component\HttpFoundation\RedirectResponse; |
| 13 | 12 | use Symfony\Component\HttpFoundation\Request; |
| 14 | 13 | |
@@ -185,7 +185,7 @@ discard block |
||
| 185 | 185 | /** |
| 186 | 186 | * @param string $title |
| 187 | 187 | * |
| 188 | - * @return string |
|
| 188 | + * @return Seo |
|
| 189 | 189 | */ |
| 190 | 190 | public function setMetaTitle($title) |
| 191 | 191 | { |
@@ -287,7 +287,7 @@ discard block |
||
| 287 | 287 | } |
| 288 | 288 | |
| 289 | 289 | /** |
| 290 | - * @return mixed |
|
| 290 | + * @return string |
|
| 291 | 291 | */ |
| 292 | 292 | public function getOgDescription() |
| 293 | 293 | { |
@@ -307,7 +307,7 @@ discard block |
||
| 307 | 307 | } |
| 308 | 308 | |
| 309 | 309 | /** |
| 310 | - * @return mixed |
|
| 310 | + * @return Media |
|
| 311 | 311 | */ |
| 312 | 312 | public function getOgImage() |
| 313 | 313 | { |
@@ -327,7 +327,7 @@ discard block |
||
| 327 | 327 | } |
| 328 | 328 | |
| 329 | 329 | /** |
| 330 | - * @return mixed |
|
| 330 | + * @return string |
|
| 331 | 331 | */ |
| 332 | 332 | public function getOgTitle() |
| 333 | 333 | { |
@@ -347,7 +347,7 @@ discard block |
||
| 347 | 347 | } |
| 348 | 348 | |
| 349 | 349 | /** |
| 350 | - * @return mixed |
|
| 350 | + * @return string |
|
| 351 | 351 | */ |
| 352 | 352 | public function getOgType() |
| 353 | 353 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Kunstmaan\SeoBundle\EventListener; |
| 4 | 4 | |
| 5 | 5 | use Doctrine\ORM\EntityManager; |
| 6 | - |
|
| 7 | 6 | use Kunstmaan\AdminBundle\Entity\AbstractEntity; |
| 8 | 7 | use Kunstmaan\AdminBundle\Event\DeepCloneAndSaveEvent; |
| 9 | 8 | use Kunstmaan\AdminBundle\Helper\CloneHelper; |
@@ -191,7 +191,7 @@ |
||
| 191 | 191 | /** |
| 192 | 192 | * Loops over the OrderItems and accumulates the value of the given property. Can also be a getter. |
| 193 | 193 | * |
| 194 | - * @param $property |
|
| 194 | + * @param string $property |
|
| 195 | 195 | * @return int|string |
| 196 | 196 | */ |
| 197 | 197 | private function accumulatePropertyOnOrderItems($property) |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Kunstmaan\SeoBundle\Repository; |
| 4 | 4 | |
| 5 | 5 | use Doctrine\ORM\EntityRepository; |
| 6 | - |
|
| 7 | 6 | use Kunstmaan\AdminBundle\Entity\AbstractEntity; |
| 8 | 7 | use Kunstmaan\SeoBundle\Entity\Seo; |
| 9 | 8 | use Kunstmaan\UtilitiesBundle\Helper\ClassLookup; |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | /** |
| 28 | 28 | * Returns a list of functions to add to the existing list. |
| 29 | 29 | * |
| 30 | - * @return array An array of functions |
|
| 30 | + * @return \Twig_SimpleFunction[] An array of functions |
|
| 31 | 31 | */ |
| 32 | 32 | public function getFunctions() |
| 33 | 33 | { |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | * |
| 131 | 131 | * @param array &$arr This is modified in place. |
| 132 | 132 | * @param string $option The key in the $arr array. |
| 133 | - * @param mixed $value The new value if the option wasn't set already. |
|
| 133 | + * @param string $value The new value if the option wasn't set already. |
|
| 134 | 134 | */ |
| 135 | 135 | private function setOptionIfNotSet(&$arr, $option, $value) |
| 136 | 136 | { |
@@ -2,12 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Kunstmaan\SeoBundle\Twig; |
| 4 | 4 | |
| 5 | -use Kunstmaan\SeoBundle\Helper\Order, |
|
| 6 | - Kunstmaan\SeoBundle\Helper\OrderConverter, |
|
| 7 | - Kunstmaan\SeoBundle\Helper\OrderPreparer; |
|
| 8 | - |
|
| 9 | -use Twig_Environment, |
|
| 10 | - Twig_Extension; |
|
| 5 | +use Kunstmaan\SeoBundle\Helper\Order; |
|
| 6 | +use Kunstmaan\SeoBundle\Helper\OrderConverter; |
|
| 7 | +use Kunstmaan\SeoBundle\Helper\OrderPreparer; |
|
| 8 | +use Twig_Environment; |
|
| 9 | +use Twig_Extension; |
|
| 11 | 10 | |
| 12 | 11 | /** |
| 13 | 12 | * Twig extensions for Google Analytics |
@@ -4,13 +4,9 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Doctrine\ORM\EntityManager; |
| 6 | 6 | use Kunstmaan\AdminBundle\Entity\AbstractEntity; |
| 7 | - |
|
| 8 | 7 | use Kunstmaan\NodeBundle\Entity\AbstractPage; |
| 9 | - |
|
| 10 | 8 | use Kunstmaan\SeoBundle\Entity\Seo; |
| 11 | - |
|
| 12 | 9 | use Twig_Environment; |
| 13 | - |
|
| 14 | 10 | use Twig_Extension; |
| 15 | 11 | |
| 16 | 12 | /** |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Returns a list of functions to add to the existing list. |
| 19 | 19 | * |
| 20 | - * @return array An array of functions |
|
| 20 | + * @return \Twig_SimpleFunction[] An array of functions |
|
| 21 | 21 | */ |
| 22 | 22 | public function getFunctions() |
| 23 | 23 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Kunstmaan\TaggingBundle\AdminList; |
| 4 | 4 | |
| 5 | 5 | use Doctrine\ORM\EntityManager; |
| 6 | - |
|
| 7 | 6 | use Kunstmaan\AdminBundle\Helper\Security\Acl\AclHelper; |
| 8 | 7 | use Kunstmaan\AdminListBundle\AdminList\Configurator\AbstractDoctrineORMAdminListConfigurator; |
| 9 | 8 | use Kunstmaan\AdminListBundle\AdminList\FilterType\ORM; |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | * @Route("/add", name="kunstmaantaggingbundle_admin_tag_add") |
| 43 | 43 | * @Method({"GET", "POST"}) |
| 44 | 44 | * @Template("KunstmaanAdminListBundle:Default:add.html.twig") |
| 45 | - * @return array |
|
| 45 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 46 | 46 | */ |
| 47 | 47 | public function addAction(Request $request) |
| 48 | 48 | { |