@@ -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 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanSeoExtensionTest extends AbstractPrependableExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanSeoExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanSiteMapExtensionTest extends AbstractPrependableExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanSitemapExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -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 | { |
@@ -490,6 +490,9 @@ discard block |
||
490 | 490 | return true; |
491 | 491 | } |
492 | 492 | |
493 | + /** |
|
494 | + * @param string $file |
|
495 | + */ |
|
493 | 496 | protected function load($file, $lazyLoad = true) |
494 | 497 | { |
495 | 498 | return require $file; |
@@ -1131,6 +1134,9 @@ discard block |
||
1131 | 1134 | |
1132 | 1135 | private $normalizedParameterNames = array(); |
1133 | 1136 | |
1137 | + /** |
|
1138 | + * @param string $name |
|
1139 | + */ |
|
1134 | 1140 | private function normalizeParameterName($name) |
1135 | 1141 | { |
1136 | 1142 | if (isset($this->normalizedParameterNames[$normalizedName = strtolower($name)]) || isset($this->parameters[$normalizedName]) || array_key_exists($normalizedName, $this->parameters)) { |
@@ -59,7 +59,7 @@ |
||
59 | 59 | |
60 | 60 | /** |
61 | 61 | * |
62 | - * @return array |
|
62 | + * @return string[] |
|
63 | 63 | */ |
64 | 64 | public function __sleep() |
65 | 65 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanTaggingExtensionTest extends AbstractPrependableExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanTaggingExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -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 | { |