@@ -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 | { |
@@ -363,7 +363,7 @@ discard block |
||
| 363 | 363 | } |
| 364 | 364 | |
| 365 | 365 | /** |
| 366 | - * @param mixed $ogArticleAuthor |
|
| 366 | + * @param string $ogArticleAuthor |
|
| 367 | 367 | */ |
| 368 | 368 | public function setOgArticleAuthor($ogArticleAuthor) |
| 369 | 369 | { |
@@ -379,7 +379,7 @@ discard block |
||
| 379 | 379 | } |
| 380 | 380 | |
| 381 | 381 | /** |
| 382 | - * @param mixed $ogArticlePublisher |
|
| 382 | + * @param string $ogArticlePublisher |
|
| 383 | 383 | */ |
| 384 | 384 | public function setOgArticlePublisher($ogArticlePublisher) |
| 385 | 385 | { |
@@ -395,7 +395,7 @@ discard block |
||
| 395 | 395 | } |
| 396 | 396 | |
| 397 | 397 | /** |
| 398 | - * @param mixed $ogArticleSection |
|
| 398 | + * @param string $ogArticleSection |
|
| 399 | 399 | */ |
| 400 | 400 | public function setOgArticleSection($ogArticleSection) |
| 401 | 401 | { |
@@ -4,5 +4,8 @@ |
||
| 4 | 4 | |
| 5 | 5 | interface LazyLoadingTaggableInterface extends Taggable |
| 6 | 6 | { |
| 7 | + /** |
|
| 8 | + * @return void |
|
| 9 | + */ |
|
| 7 | 10 | public function setTagLoader(\Closure $loader); |
| 8 | 11 | } |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | /** |
| 91 | 91 | * Set resourceType |
| 92 | 92 | * |
| 93 | - * @param $resourceType |
|
| 93 | + * @param string $resourceType |
|
| 94 | 94 | */ |
| 95 | 95 | public function setResourceType($resourceType) |
| 96 | 96 | { |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | /** |
| 111 | 111 | * Set resourceId |
| 112 | 112 | * |
| 113 | - * @param $resourceId |
|
| 113 | + * @param integer $resourceId |
|
| 114 | 114 | */ |
| 115 | 115 | public function setResourceId($resourceId) |
| 116 | 116 | { |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | /** |
| 141 | 141 | * Get createdAt |
| 142 | 142 | * |
| 143 | - * @return datetime |
|
| 143 | + * @return \DateTime |
|
| 144 | 144 | */ |
| 145 | 145 | public function getCreatedAt() |
| 146 | 146 | { |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | /** |
| 161 | 161 | * Get updatedAt |
| 162 | 162 | * |
| 163 | - * @return datetime |
|
| 163 | + * @return \DateTime |
|
| 164 | 164 | */ |
| 165 | 165 | public function getUpdatedAt() |
| 166 | 166 | { |
@@ -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 | { |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | return $this->limit; |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | - /** @return array */ |
|
| 81 | + /** @return integer[] */ |
|
| 82 | 82 | public function getLimitOptions() |
| 83 | 83 | { |
| 84 | 84 | return [ |
@@ -50,6 +50,9 @@ |
||
| 50 | 50 | $container->getDefinition('kunstmaan_translator.datacollector')->setDecoratedService('translator'); |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | + /** |
|
| 54 | + * @param ContainerBuilder $container |
|
| 55 | + */ |
|
| 53 | 56 | public function setTranslationConfiguration($config, $container) |
| 54 | 57 | { |
| 55 | 58 | $container->setAlias('translator', 'kunstmaan_translator.service.translator.translator')->setPublic(true); |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | * |
| 76 | 76 | * @param string $role ROLE_FOO etc |
| 77 | 77 | * |
| 78 | - * @return RoleInterface |
|
| 78 | + * @return Role |
|
| 79 | 79 | */ |
| 80 | 80 | public function setRole($role) |
| 81 | 81 | { |
@@ -139,6 +139,10 @@ |
||
| 139 | 139 | |
| 140 | 140 | /** |
| 141 | 141 | * @deprecated This method is deprecated since KunstmaanTranslatorBundle version 5.1 and will be removed in KunstmaanTranslatorBundle version 6.0 |
| 142 | + * @param string $id |
|
| 143 | + * @param string $domain |
|
| 144 | + * @param string|null $locale |
|
| 145 | + * @param string $trans |
|
| 142 | 146 | */ |
| 143 | 147 | public function profileTranslation($id, $parameters, $domain, $locale, $trans) |
| 144 | 148 | { |
@@ -35,6 +35,7 @@ |
||
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * @param ContainerInterface|string $multilanguage |
| 38 | + * @param \PHPUnit_Framework_MockObject_MockObject $requestStack |
|
| 38 | 39 | */ |
| 39 | 40 | public function __construct(/*ContainerInterface|RequestStack*/ $requestStack, $multilanguage = null, $defaultLocale = null, $requiredLocales = null, AdminRouteHelper $adminRouteHelper = null, EntityManagerInterface $em = null, array $hosts = null) |
| 40 | 41 | { |