@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanPagePartExtensionTest extends AbstractPrependableExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanPagePartExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -13,7 +13,7 @@ |
||
13 | 13 | class KunstmaanRedirectExtensionTest extends AbstractPrependableExtensionTestCase |
14 | 14 | { |
15 | 15 | /** |
16 | - * @return ExtensionInterface[] |
|
16 | + * @return KunstmaanRedirectExtension[] |
|
17 | 17 | */ |
18 | 18 | protected function getContainerExtensions() |
19 | 19 | { |
@@ -57,6 +57,7 @@ |
||
57 | 57 | * @param string $origin |
58 | 58 | * @param string $target |
59 | 59 | * @param boolean $permanent |
60 | + * @param null|string $domain |
|
60 | 61 | * |
61 | 62 | * @return Redirect |
62 | 63 | */ |
@@ -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 | } |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Kunstmaan\TranslatorBundle\Service\Command; |
3 | 3 | |
4 | -use Doctrine\DBAL\Migrations\Configuration\Configuration, |
|
5 | - Doctrine\DBAL\Migrations\Tools\Console\Command\GenerateCommand, |
|
6 | - Symfony\Component\Console\Input\InputInterface, |
|
7 | - Symfony\Component\Console\Output\OutputInterface; |
|
4 | +use Doctrine\DBAL\Migrations\Configuration\Configuration; |
|
5 | +use Doctrine\DBAL\Migrations\Tools\Console\Command\GenerateCommand; |
|
6 | +use Symfony\Component\Console\Input\InputInterface; |
|
7 | +use Symfony\Component\Console\Output\OutputInterface; |
|
8 | 8 | |
9 | 9 | class DiffCommand extends GenerateCommand |
10 | 10 | { |
@@ -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)) { |
@@ -3,11 +3,9 @@ |
||
3 | 3 | namespace ContainerBcomtmh; |
4 | 4 | |
5 | 5 | use Symfony\Component\DependencyInjection\Argument\RewindableGenerator; |
6 | -use Symfony\Component\DependencyInjection\ContainerInterface; |
|
7 | 6 | use Symfony\Component\DependencyInjection\Container; |
8 | 7 | use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; |
9 | 8 | use Symfony\Component\DependencyInjection\Exception\LogicException; |
10 | -use Symfony\Component\DependencyInjection\Exception\RuntimeException; |
|
11 | 9 | use Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag; |
12 | 10 | |
13 | 11 | /** |