Completed
Push — master ( 0b2e6b...2c86a7 )
by Paul
49:42 queued 39:17
created
Bundle/SeoBundle/Entity/PageSeoTranslation.php 1 patch
Doc Comments   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -245,9 +245,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Bundle/CoreBundle/Entity/View.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -530,7 +530,7 @@  discard block
 block discarded – undo
530 530
     /**
531 531
      * Add widget.
532 532
      *
533
-     * @param Widget $widgetMap
533
+     * @param WidgetMap $widgetMap
534 534
      */
535 535
     public function addWidgetMap(WidgetMap $widgetMap)
536 536
     {
@@ -801,7 +801,7 @@  discard block
 block discarded – undo
801 801
     }
802 802
 
803 803
     /**
804
-     * @return array
804
+     * @return boolean
805 805
      */
806 806
     public function getRoles()
807 807
     {
Please login to merge, or discard this patch.
Bundle/PageBundle/Helper/PageHelper.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@
 block discarded – undo
232 232
      * populate the page with given entity.
233 233
      *
234 234
      * @param View           $page
235
-     * @param BusinessEntity $entity
235
+     * @param BusinessPage $entity
236 236
      */
237 237
     public function updatePageWithEntity(BusinessTemplate $page, $entity)
238 238
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -443,7 +443,7 @@
 block discarded – undo
443 443
      */
444 444
     private function getPageRoles(View $view)
445 445
     {
446
-        $insertAncestorRole = function (View $view = null) use (&$insertAncestorRole) {
446
+        $insertAncestorRole = function(View $view = null) use (&$insertAncestorRole) {
447 447
             if ($view === null) {
448 448
                 return;
449 449
             }
Please login to merge, or discard this patch.
Bundle/WidgetBundle/Controller/WidgetController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
      * @param string  $type          The type of the widget we edit
92 92
      * @param int     $viewReference The view reference where attach the widget
93 93
      * @param string  $slot          The slot where attach the widget
94
-     * @param null    $quantum       The quantum number used to avoid same form name
94
+     * @param integer    $quantum       The quantum number used to avoid same form name
95 95
      *
96 96
      * @throws Exception
97 97
      *
Please login to merge, or discard this patch.
Bundle/WidgetBundle/Entity/Widget.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -364,7 +364,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
494 494
     }
495 495
 
496 496
     /**
497
-     * @param $criteriaAlias
497
+     * @param string $criteriaAlias
498 498
      *
499 499
      * @return bool
500 500
      */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -500,7 +500,7 @@  discard block
 block discarded – undo
500 500
      */
501 501
     public function hasCriteriaNamed($criteriaAlias)
502 502
     {
503
-        return $this->criterias->exists(function ($key, $element) use ($criteriaAlias) {
503
+        return $this->criterias->exists(function($key, $element) use ($criteriaAlias) {
504 504
             return $criteriaAlias === $element->getName();
505 505
         });
506 506
     }
@@ -556,7 +556,7 @@  discard block
 block discarded – undo
556 556
     {
557 557
         if ($this->hasCriteriaNamed('locale')) {
558 558
             foreach ($this->getCriterias() as $criteria) {
559
-                if ($criteria->getName() === 'locale' &&  $criteria->getValue() === $defaultLocale) {
559
+                if ($criteria->getName() === 'locale' && $criteria->getValue() === $defaultLocale) {
560 560
                     return $criteria->getValue();
561 561
                 }
562 562
             }
Please login to merge, or discard this patch.
Functionnal/src/Acme/AppBundle/DataFixtures/Seeds/ORM/LoadFixtureData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
         while ($file = readdir($openFolder)) {
153 153
             if ($file != '.' && $file != '..') {
154 154
                 // Remove file
155
-                $recursiveDelete = function ($str) use (&$recursiveDelete) {
155
+                $recursiveDelete = function($str) use (&$recursiveDelete) {
156 156
                     if (is_file($str)) {
157 157
                         return @unlink($str);
158 158
                     } elseif (is_dir($str)) {
Please login to merge, or discard this patch.
Bundle/CriteriaBundle/DataSource/RolesDataSource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
             'options' => [
51 51
                 'choices'           => $this->getAllAvailableRoles($this->roleHierarchy),
52 52
                 'choices_as_values' => true,
53
-                'choice_label'      => function ($value) {
53
+                'choice_label'      => function($value) {
54 54
                     return $value;
55 55
                 },
56 56
             ],
Please login to merge, or discard this patch.
Bundle/BusinessPageBundle/Builder/BusinessPageBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
              * @param bool $autoload
103 103
              * @return array
104 104
              */
105
-            $class_uses_deep = function ($class, $autoload = true) {
105
+            $class_uses_deep = function($class, $autoload = true) {
106 106
                 $traits = [];
107 107
                 do {
108 108
                     $traits = array_merge(class_uses($class, $autoload), $traits);
Please login to merge, or discard this patch.