@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | /** |
| 22 | 22 | * WidgetCache constructor. |
| 23 | 23 | * |
| 24 | - * @param Client $cache |
|
| 24 | + * @param WidgetCache $cache |
|
| 25 | 25 | */ |
| 26 | 26 | public function __construct(WidgetCache $cache) |
| 27 | 27 | { |
@@ -29,7 +29,6 @@ discard block |
||
| 29 | 29 | } |
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | - * @param Widget $widget |
|
| 33 | 32 | * |
| 34 | 33 | * @return string |
| 35 | 34 | */ |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | /** |
| 35 | 35 | * This method save a tree of viewReferences. |
| 36 | 36 | * |
| 37 | - * @param array $viewReferences |
|
| 37 | + * @param \Victoire\Bundle\CoreBundle\Entity\WebViewInterface[] $viewReferences |
|
| 38 | 38 | * @param string $parentId |
| 39 | 39 | * @param string $parentLocale |
| 40 | 40 | * @param bool $reset |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | * |
| 64 | 64 | * @param string $name |
| 65 | 65 | * |
| 66 | - * @return View |
|
| 66 | + * @return ArticleTranslation |
|
| 67 | 67 | */ |
| 68 | 68 | public function setName($name) |
| 69 | 69 | { |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | * |
| 78 | 78 | * @param string $slug |
| 79 | 79 | * |
| 80 | - * @return View |
|
| 80 | + * @return ArticleTranslation |
|
| 81 | 81 | */ |
| 82 | 82 | public function setSlug($slug) |
| 83 | 83 | { |
@@ -109,9 +109,8 @@ discard block |
||
| 109 | 109 | /** |
| 110 | 110 | * Set category. |
| 111 | 111 | * |
| 112 | - * @param string $category |
|
| 113 | 112 | * |
| 114 | - * @return Article |
|
| 113 | + * @return ArticleTranslation |
|
| 115 | 114 | */ |
| 116 | 115 | public function setDescription($description) |
| 117 | 116 | { |
@@ -215,7 +215,7 @@ |
||
| 215 | 215 | /** |
| 216 | 216 | * @param VirtualBusinessPage $page |
| 217 | 217 | * @param BusinessTemplate $businessTemplate |
| 218 | - * @param array $businessProperties |
|
| 218 | + * @param BusinessProperty[] $businessProperties |
|
| 219 | 219 | * @param EntityManager $em |
| 220 | 220 | * @param $entity |
| 221 | 221 | * |
@@ -190,7 +190,6 @@ |
||
| 190 | 190 | * |
| 191 | 191 | * @param array $parameters The link parameters (go to LinkTrait to have the list) |
| 192 | 192 | * @param string $label link label |
| 193 | - * @param array $attr custom attributes |
|
| 194 | 193 | * |
| 195 | 194 | * @return string |
| 196 | 195 | */ |
@@ -245,9 +245,9 @@ discard block |
||
| 245 | 245 | /** |
| 246 | 246 | * Set redirectTo. |
| 247 | 247 | * |
| 248 | - * @param View $redirectTo |
|
| 248 | + * @param Link $redirectTo |
|
| 249 | 249 | * |
| 250 | - * @return PageSeo |
|
| 250 | + * @return PageSeoTranslation |
|
| 251 | 251 | */ |
| 252 | 252 | public function setRedirectTo(Link $redirectTo) |
| 253 | 253 | { |
@@ -271,7 +271,7 @@ discard block |
||
| 271 | 271 | * |
| 272 | 272 | * @param string $metaTitle |
| 273 | 273 | * |
| 274 | - * @return PageSeo |
|
| 274 | + * @return PageSeoTranslation |
|
| 275 | 275 | */ |
| 276 | 276 | public function setMetaTitle($metaTitle) |
| 277 | 277 | { |
@@ -295,7 +295,7 @@ discard block |
||
| 295 | 295 | * |
| 296 | 296 | * @param string $metaDescription |
| 297 | 297 | * |
| 298 | - * @return PageSeo |
|
| 298 | + * @return PageSeoTranslation |
|
| 299 | 299 | */ |
| 300 | 300 | public function setMetaDescription($metaDescription) |
| 301 | 301 | { |
@@ -319,7 +319,7 @@ discard block |
||
| 319 | 319 | * |
| 320 | 320 | * @param string $relAuthor |
| 321 | 321 | * |
| 322 | - * @return PageSeo |
|
| 322 | + * @return PageSeoTranslation |
|
| 323 | 323 | */ |
| 324 | 324 | public function setRelAuthor($relAuthor) |
| 325 | 325 | { |
@@ -343,7 +343,7 @@ discard block |
||
| 343 | 343 | * |
| 344 | 344 | * @param string $relPublisher |
| 345 | 345 | * |
| 346 | - * @return PageSeo |
|
| 346 | + * @return PageSeoTranslation |
|
| 347 | 347 | */ |
| 348 | 348 | public function setRelPublisher($relPublisher) |
| 349 | 349 | { |
@@ -367,7 +367,7 @@ discard block |
||
| 367 | 367 | * |
| 368 | 368 | * @param string $ogTitle |
| 369 | 369 | * |
| 370 | - * @return PageSeo |
|
| 370 | + * @return PageSeoTranslation |
|
| 371 | 371 | */ |
| 372 | 372 | public function setOgTitle($ogTitle) |
| 373 | 373 | { |
@@ -391,7 +391,7 @@ discard block |
||
| 391 | 391 | * |
| 392 | 392 | * @param string $ogType |
| 393 | 393 | * |
| 394 | - * @return PageSeo |
|
| 394 | + * @return PageSeoTranslation |
|
| 395 | 395 | */ |
| 396 | 396 | public function setOgType($ogType) |
| 397 | 397 | { |
@@ -415,7 +415,7 @@ discard block |
||
| 415 | 415 | * |
| 416 | 416 | * @param Image $ogImage |
| 417 | 417 | * |
| 418 | - * @return PageSeo |
|
| 418 | + * @return PageSeoTranslation |
|
| 419 | 419 | */ |
| 420 | 420 | public function setOgImage($ogImage) |
| 421 | 421 | { |
@@ -439,7 +439,7 @@ discard block |
||
| 439 | 439 | * |
| 440 | 440 | * @param string $ogUrl |
| 441 | 441 | * |
| 442 | - * @return PageSeo |
|
| 442 | + * @return PageSeoTranslation |
|
| 443 | 443 | */ |
| 444 | 444 | public function setOgUrl($ogUrl) |
| 445 | 445 | { |
@@ -463,7 +463,7 @@ discard block |
||
| 463 | 463 | * |
| 464 | 464 | * @param string $ogDescription |
| 465 | 465 | * |
| 466 | - * @return PageSeo |
|
| 466 | + * @return PageSeoTranslation |
|
| 467 | 467 | */ |
| 468 | 468 | public function setOgDescription($ogDescription) |
| 469 | 469 | { |
@@ -487,7 +487,7 @@ discard block |
||
| 487 | 487 | * |
| 488 | 488 | * @param string $fbAdmins |
| 489 | 489 | * |
| 490 | - * @return PageSeo |
|
| 490 | + * @return PageSeoTranslation |
|
| 491 | 491 | */ |
| 492 | 492 | public function setFbAdmins($fbAdmins) |
| 493 | 493 | { |
@@ -511,7 +511,7 @@ discard block |
||
| 511 | 511 | * |
| 512 | 512 | * @param string $twitterCard |
| 513 | 513 | * |
| 514 | - * @return PageSeo |
|
| 514 | + * @return PageSeoTranslation |
|
| 515 | 515 | */ |
| 516 | 516 | public function setTwitterCard($twitterCard) |
| 517 | 517 | { |
@@ -535,7 +535,7 @@ discard block |
||
| 535 | 535 | * |
| 536 | 536 | * @param string $twitterUrl |
| 537 | 537 | * |
| 538 | - * @return PageSeo |
|
| 538 | + * @return PageSeoTranslation |
|
| 539 | 539 | */ |
| 540 | 540 | public function setTwitterUrl($twitterUrl) |
| 541 | 541 | { |
@@ -559,7 +559,7 @@ discard block |
||
| 559 | 559 | * |
| 560 | 560 | * @param string $twitterCreator |
| 561 | 561 | * |
| 562 | - * @return PageSeo |
|
| 562 | + * @return PageSeoTranslation |
|
| 563 | 563 | */ |
| 564 | 564 | public function setTwitterCreator($twitterCreator) |
| 565 | 565 | { |
@@ -583,7 +583,7 @@ discard block |
||
| 583 | 583 | * |
| 584 | 584 | * @param string $twitterTitle |
| 585 | 585 | * |
| 586 | - * @return PageSeo |
|
| 586 | + * @return PageSeoTranslation |
|
| 587 | 587 | */ |
| 588 | 588 | public function setTwitterTitle($twitterTitle) |
| 589 | 589 | { |
@@ -607,7 +607,7 @@ discard block |
||
| 607 | 607 | * |
| 608 | 608 | * @param string $twitterDescription |
| 609 | 609 | * |
| 610 | - * @return PageSeo |
|
| 610 | + * @return PageSeoTranslation |
|
| 611 | 611 | */ |
| 612 | 612 | public function setTwitterDescription($twitterDescription) |
| 613 | 613 | { |
@@ -631,7 +631,7 @@ discard block |
||
| 631 | 631 | * |
| 632 | 632 | * @param Image $twitterImage |
| 633 | 633 | * |
| 634 | - * @return PageSeo |
|
| 634 | + * @return PageSeoTranslation |
|
| 635 | 635 | */ |
| 636 | 636 | public function setTwitterImage($twitterImage) |
| 637 | 637 | { |
@@ -655,7 +655,7 @@ discard block |
||
| 655 | 655 | * |
| 656 | 656 | * @param string $schemaPageType |
| 657 | 657 | * |
| 658 | - * @return PageSeo |
|
| 658 | + * @return PageSeoTranslation |
|
| 659 | 659 | */ |
| 660 | 660 | public function setSchemaPageType($schemaPageType) |
| 661 | 661 | { |
@@ -679,7 +679,7 @@ discard block |
||
| 679 | 679 | * |
| 680 | 680 | * @param string $schemaName |
| 681 | 681 | * |
| 682 | - * @return PageSeo |
|
| 682 | + * @return PageSeoTranslation |
|
| 683 | 683 | */ |
| 684 | 684 | public function setSchemaName($schemaName) |
| 685 | 685 | { |
@@ -703,7 +703,7 @@ discard block |
||
| 703 | 703 | * |
| 704 | 704 | * @param string $schemaDescription |
| 705 | 705 | * |
| 706 | - * @return PageSeo |
|
| 706 | + * @return PageSeoTranslation |
|
| 707 | 707 | */ |
| 708 | 708 | public function setSchemaDescription($schemaDescription) |
| 709 | 709 | { |
@@ -727,7 +727,7 @@ discard block |
||
| 727 | 727 | * |
| 728 | 728 | * @param Image $schemaImage |
| 729 | 729 | * |
| 730 | - * @return PageSeo |
|
| 730 | + * @return PageSeoTranslation |
|
| 731 | 731 | */ |
| 732 | 732 | public function setSchemaImage($schemaImage) |
| 733 | 733 | { |
@@ -751,7 +751,7 @@ discard block |
||
| 751 | 751 | * |
| 752 | 752 | * @param string $metaRobotsIndex |
| 753 | 753 | * |
| 754 | - * @return PageSeo |
|
| 754 | + * @return PageSeoTranslation |
|
| 755 | 755 | */ |
| 756 | 756 | public function setMetaRobotsIndex($metaRobotsIndex) |
| 757 | 757 | { |
@@ -775,7 +775,7 @@ discard block |
||
| 775 | 775 | * |
| 776 | 776 | * @param string $metaRobotsFollow |
| 777 | 777 | * |
| 778 | - * @return PageSeo |
|
| 778 | + * @return PageSeoTranslation |
|
| 779 | 779 | */ |
| 780 | 780 | public function setMetaRobotsFollow($metaRobotsFollow) |
| 781 | 781 | { |
@@ -799,7 +799,7 @@ discard block |
||
| 799 | 799 | * |
| 800 | 800 | * @param string $metaRobotsAdvanced |
| 801 | 801 | * |
| 802 | - * @return PageSeo |
|
| 802 | + * @return PageSeoTranslation |
|
| 803 | 803 | */ |
| 804 | 804 | public function setMetaRobotsAdvanced($metaRobotsAdvanced) |
| 805 | 805 | { |
@@ -823,7 +823,7 @@ discard block |
||
| 823 | 823 | * |
| 824 | 824 | * @param bool $sitemapIndexed |
| 825 | 825 | * |
| 826 | - * @return PageSeo |
|
| 826 | + * @return PageSeoTranslation |
|
| 827 | 827 | */ |
| 828 | 828 | public function setSitemapIndexed($sitemapIndexed) |
| 829 | 829 | { |
@@ -847,7 +847,7 @@ discard block |
||
| 847 | 847 | * |
| 848 | 848 | * @param float $sitemapPriority |
| 849 | 849 | * |
| 850 | - * @return PageSeo |
|
| 850 | + * @return PageSeoTranslation |
|
| 851 | 851 | */ |
| 852 | 852 | public function setSitemapPriority($sitemapPriority) |
| 853 | 853 | { |
@@ -871,7 +871,7 @@ discard block |
||
| 871 | 871 | * |
| 872 | 872 | * @param float $sitemapChangeFreq |
| 873 | 873 | * |
| 874 | - * @return PageSeo |
|
| 874 | + * @return PageSeoTranslation |
|
| 875 | 875 | */ |
| 876 | 876 | public function setSitemapChangeFreq($sitemapChangeFreq) |
| 877 | 877 | { |
@@ -883,7 +883,7 @@ discard block |
||
| 883 | 883 | /** |
| 884 | 884 | * Get sitemapChangeFreq. |
| 885 | 885 | * |
| 886 | - * @return float |
|
| 886 | + * @return string |
|
| 887 | 887 | */ |
| 888 | 888 | public function getSitemapChangeFreq() |
| 889 | 889 | { |
@@ -895,7 +895,7 @@ discard block |
||
| 895 | 895 | * |
| 896 | 896 | * @param string $relCanonical |
| 897 | 897 | * |
| 898 | - * @return PageSeo |
|
| 898 | + * @return PageSeoTranslation |
|
| 899 | 899 | */ |
| 900 | 900 | public function setRelCanonical($relCanonical) |
| 901 | 901 | { |
@@ -919,7 +919,7 @@ discard block |
||
| 919 | 919 | * |
| 920 | 920 | * @param string $keyword |
| 921 | 921 | * |
| 922 | - * @return PageSeo |
|
| 922 | + * @return PageSeoTranslation |
|
| 923 | 923 | */ |
| 924 | 924 | public function setKeyword($keyword) |
| 925 | 925 | { |
@@ -364,7 +364,7 @@ discard block |
||
| 364 | 364 | /** |
| 365 | 365 | * Set widgets. |
| 366 | 366 | * |
| 367 | - * @param [WidgetMap] $widgetMaps |
|
| 367 | + * @param [WidgetMap] $widgetMap |
|
| 368 | 368 | * |
| 369 | 369 | * @return Widget |
| 370 | 370 | */ |
@@ -494,7 +494,7 @@ discard block |
||
| 494 | 494 | } |
| 495 | 495 | |
| 496 | 496 | /** |
| 497 | - * @param $criteriaAlias |
|
| 497 | + * @param string $criteriaAlias |
|
| 498 | 498 | * |
| 499 | 499 | * @return bool |
| 500 | 500 | */ |
@@ -22,7 +22,6 @@ discard block |
||
| 22 | 22 | /** |
| 23 | 23 | * Construct. |
| 24 | 24 | * |
| 25 | - * @param EngineInterface $templating |
|
| 26 | 25 | * @param $victoireTwigResponsive |
| 27 | 26 | * @param $kernelRootDir |
| 28 | 27 | * |
@@ -39,9 +38,9 @@ discard block |
||
| 39 | 38 | /** |
| 40 | 39 | * Update css by removing old file and writing new file. |
| 41 | 40 | * |
| 42 | - * @param $oldHash |
|
| 41 | + * @param string $oldHash |
|
| 43 | 42 | * @param View $view |
| 44 | - * @param array $widgets |
|
| 43 | + * @param \Victoire\Bundle\WidgetBundle\Entity\Widget[] $widgets |
|
| 45 | 44 | */ |
| 46 | 45 | public function updateViewCss($oldHash, View $view, array $widgets) |
| 47 | 46 | { |
@@ -159,7 +158,7 @@ discard block |
||
| 159 | 158 | * Write css file. |
| 160 | 159 | * |
| 161 | 160 | * @param $view |
| 162 | - * @param $css |
|
| 161 | + * @param string $css |
|
| 163 | 162 | */ |
| 164 | 163 | private function writeCssFile(View $view, $css) |
| 165 | 164 | { |
@@ -395,7 +395,7 @@ discard block |
||
| 395 | 395 | /** |
| 396 | 396 | * Set viewReferencePage. |
| 397 | 397 | * |
| 398 | - * @param mixed $viewReferencePage |
|
| 398 | + * @param \Victoire\Bundle\PageBundle\Entity\Page $viewReferencePage |
|
| 399 | 399 | * |
| 400 | 400 | * @return Link |
| 401 | 401 | */ |
@@ -427,7 +427,7 @@ discard block |
||
| 427 | 427 | } |
| 428 | 428 | |
| 429 | 429 | /** |
| 430 | - * @return mixed |
|
| 430 | + * @return string |
|
| 431 | 431 | */ |
| 432 | 432 | public function getModalLayout() |
| 433 | 433 | { |