Completed
Push — EZP-31677-6.13-7.5 ( 743cfe )
by
unknown
17:29 queued 10s
created
Core/Persistence/Legacy/Content/UrlAlias/Gateway/DoctrineDatabase.php 1 patch
Doc Comments   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
     /**
105 105
      * Loads list of aliases by given $locationId.
106 106
      *
107
-     * @param mixed $locationId
107
+     * @param integer $locationId
108 108
      * @param bool $custom
109 109
      * @param mixed $languageId
110 110
      *
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
      *
275 275
      * @param string $action
276 276
      * @param mixed $languageId
277
-     * @param mixed $newId
277
+     * @param integer $newId
278 278
      * @param mixed $parentId
279 279
      * @param string $textMD5
280 280
      */
@@ -448,9 +448,9 @@  discard block
 block discarded – undo
448 448
      *
449 449
      * Removes given $languageId from entry's language mask
450 450
      *
451
-     * @param mixed $parentId
451
+     * @param integer $parentId
452 452
      * @param string $textMD5
453
-     * @param mixed $languageId
453
+     * @param integer $languageId
454 454
      */
455 455
     protected function removeTranslation($parentId, $textMD5, $languageId)
456 456
     {
@@ -533,8 +533,8 @@  discard block
 block discarded – undo
533 533
      *
534 534
      * Update includes history entries.
535 535
      *
536
-     * @param mixed $oldParentId
537
-     * @param mixed $newParentId
536
+     * @param integer $oldParentId
537
+     * @param integer $newParentId
538 538
      */
539 539
     public function reparent($oldParentId, $newParentId)
540 540
     {
@@ -680,7 +680,7 @@  discard block
 block discarded – undo
680 680
     /**
681 681
      * Returns next value for "id" column.
682 682
      *
683
-     * @return mixed
683
+     * @return integer
684 684
      */
685 685
     public function getNextId()
686 686
     {
@@ -823,7 +823,7 @@  discard block
 block discarded – undo
823 823
      * Loads autogenerated entry id by given $action and optionally $parentId.
824 824
      *
825 825
      * @param string $action
826
-     * @param mixed|null $parentId
826
+     * @param integer $parentId
827 827
      *
828 828
      * @return array
829 829
      */
@@ -1007,7 +1007,7 @@  discard block
 block discarded – undo
1007 1007
     /**
1008 1008
      * Deletes single custom alias row matched by composite primary key.
1009 1009
      *
1010
-     * @param mixed $parentId
1010
+     * @param integer $parentId
1011 1011
      * @param string $textMD5
1012 1012
      *
1013 1013
      * @return bool
@@ -1045,10 +1045,10 @@  discard block
 block discarded – undo
1045 1045
      *
1046 1046
      * If $id is set only autogenerated entries will be removed.
1047 1047
      *
1048
-     * @param mixed $action
1049
-     * @param mixed|null $id
1048
+     * @param string $action
1049
+     * @param integer $id
1050 1050
      *
1051
-     * @return bool
1051
+     * @return boolean|null
1052 1052
      */
1053 1053
     public function remove($action, $id = null)
1054 1054
     {
Please login to merge, or discard this patch.
Core/Persistence/Legacy/Content/UrlWildcard/Gateway/DoctrineDatabase.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      *
48 48
      * @param \eZ\Publish\SPI\Persistence\Content\UrlWildcard $urlWildcard
49 49
      *
50
-     * @return mixed
50
+     * @return integer
51 51
      */
52 52
     public function insertUrlWildcard(UrlWildcard $urlWildcard)
53 53
     {
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     /**
92 92
      * Deletes the UrlWildcard with given $id.
93 93
      *
94
-     * @param mixed $id
94
+     * @param integer $id
95 95
      */
96 96
     public function deleteUrlWildcard($id)
97 97
     {
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     /**
112 112
      * Loads an array with data about UrlWildcard with $id.
113 113
      *
114
-     * @param mixed $id
114
+     * @param integer $id
115 115
      *
116 116
      * @return array
117 117
      */
@@ -138,8 +138,8 @@  discard block
 block discarded – undo
138 138
     /**
139 139
      * Loads an array with data about UrlWildcards (paged).
140 140
      *
141
-     * @param mixed $offset
142
-     * @param mixed $limit
141
+     * @param integer $offset
142
+     * @param integer $limit
143 143
      *
144 144
      * @return array
145 145
      */
Please login to merge, or discard this patch.
Publish/Core/Search/Legacy/Content/WordIndexer/Repository/SearchIndex.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -127,18 +127,18 @@
 block discarded – undo
127 127
      * Link word with specific content object (legacy db table: ezsearch_object_word_link).
128 128
      *
129 129
      * @param $wordId
130
-     * @param $contentId
131
-     * @param $frequency
132
-     * @param $placement
130
+     * @param integer $contentId
131
+     * @param integer $frequency
132
+     * @param integer $placement
133 133
      * @param $nextWordId
134 134
      * @param $prevWordId
135
-     * @param $contentTypeId
135
+     * @param integer $contentTypeId
136 136
      * @param $fieldTypeId
137
-     * @param $published
138
-     * @param $sectionId
137
+     * @param integer $published
138
+     * @param integer $sectionId
139 139
      * @param $identifier
140 140
      * @param $integerValue
141
-     * @param $languageMask
141
+     * @param integer $languageMask
142 142
      */
143 143
     public function addObjectWordLink($wordId,
144 144
                                       $contentId,
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishCoreBundle/Command/ReindexCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -332,7 +332,7 @@
 block discarded – undo
332 332
     }
333 333
 
334 334
     /**
335
-     * @param mixed $locationId
335
+     * @param integer $locationId
336 336
      * @param bool $count
337 337
      *
338 338
      * @return \Doctrine\DBAL\Driver\Statement
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Content/UrlAlias/Handler.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
      * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException
310 310
      * @throws \eZ\Publish\API\Repository\Exceptions\ForbiddenException
311 311
      *
312
-     * @param mixed $locationId
312
+     * @param integer $locationId
313 313
      * @param string $path
314 314
      * @param bool $forwarding
315 315
      * @param string $languageCode
@@ -486,7 +486,7 @@  discard block
 block discarded – undo
486 486
      *
487 487
      * @throws \eZ\Publish\API\Repository\Exceptions\BadStateException
488 488
      *
489
-     * @param mixed $locationId
489
+     * @param integer $locationId
490 490
      * @param bool $custom if true the user generated aliases are listed otherwise the autogenerated
491 491
      *
492 492
      * @return \eZ\Publish\SPI\Persistence\Content\UrlAlias[]
@@ -622,9 +622,9 @@  discard block
 block discarded – undo
622 622
      *
623 623
      * This method triggers the change of the autogenerated aliases.
624 624
      *
625
-     * @param mixed $locationId
626
-     * @param mixed $oldParentId
627
-     * @param mixed $newParentId
625
+     * @param integer $locationId
626
+     * @param integer $oldParentId
627
+     * @param integer $newParentId
628 628
      */
629 629
     public function locationMoved($locationId, $oldParentId, $newParentId)
630 630
     {
@@ -652,9 +652,9 @@  discard block
 block discarded – undo
652 652
      *
653 653
      * This method triggers the creation of the autogenerated aliases for the copied locations
654 654
      *
655
-     * @param mixed $locationId
656
-     * @param mixed $newLocationId
657
-     * @param mixed $newParentId
655
+     * @param integer $locationId
656
+     * @param integer $newLocationId
657
+     * @param integer $newParentId
658 658
      */
659 659
     public function locationCopied($locationId, $newLocationId, $newParentId)
660 660
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/SearchServiceTest.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1239,7 +1239,7 @@  discard block
 block discarded – undo
1239 1239
     /**
1240 1240
      * Create test Content with ezcountry field having multiple countries selected.
1241 1241
      *
1242
-     * @return \eZ\Publish\API\Repository\Values\Content\Content[]
1242
+     * @return Content
1243 1243
      */
1244 1244
     protected function createMultipleCountriesContent()
1245 1245
     {
@@ -3878,6 +3878,7 @@  discard block
 block discarded – undo
3878 3878
      * Test for the findContent() method.
3879 3879
      *
3880 3880
      * @see \eZ\Publish\API\Repository\SearchService::findContent()
3881
+     * @param string $queryType
3881 3882
      */
3882 3883
     public function testUserMetadataGroupHorizontalFilterContent($queryType = null)
3883 3884
     {
@@ -3967,6 +3968,7 @@  discard block
 block discarded – undo
3967 3968
      * Test for the findLocations() method.
3968 3969
      *
3969 3970
      * @see \eZ\Publish\API\Repository\SearchService::findLocations()
3971
+     * @param string $queryType
3970 3972
      */
3971 3973
     public function testUserMetadataGroupHorizontalFilterLocation($queryType = null)
3972 3974
     {
@@ -4686,7 +4688,7 @@  discard block
 block discarded – undo
4686 4688
      *
4687 4689
      * @param callable|null $closure
4688 4690
      *
4689
-     * @return callable
4691
+     * @return \Closure
4690 4692
      */
4691 4693
     private function getContentInfoFixtureClosure($closure = null)
4692 4694
     {
@@ -4787,7 +4789,7 @@  discard block
 block discarded – undo
4787 4789
     /**
4788 4790
      * @param string $findMethod
4789 4791
      * @param \eZ\Publish\API\Repository\Values\Content\Query $query
4790
-     * @param array $languages
4792
+     * @param string[] $languages
4791 4793
      * @param bool $useAlwaysAvailable
4792 4794
      *
4793 4795
      * @throws \InvalidArgumentException
Please login to merge, or discard this patch.
eZ/Publish/Core/MVC/Symfony/View/Manager.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,6 +78,10 @@  discard block
 block discarded – undo
78 78
     /** @var \eZ\Publish\Core\MVC\Symfony\View\Configurator */
79 79
     private $viewConfigurator;
80 80
 
81
+    /**
82
+     * @param string $viewBaseLayout
83
+     * @param \PHPUnit\Framework\MockObject\MockObject $viewConfigurator
84
+     */
81 85
     public function __construct(
82 86
         EngineInterface $templateEngine,
83 87
         EventDispatcherInterface $eventDispatcher,
@@ -141,7 +145,7 @@  discard block
 block discarded – undo
141 145
      * Registers $viewProvider as a valid location view provider.
142 146
      * When this view provider will be called in the chain depends on $priority. The highest $priority is, the earliest the router will be called.
143 147
      *
144
-     * @param \eZ\Publish\Core\MVC\Symfony\View\Provider\Block $viewProvider
148
+     * @param ViewProvider $viewProvider
145 149
      * @param int $priority
146 150
      */
147 151
     public function addBlockViewProvider(ViewProvider $viewProvider, $priority = 0)
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/ContentTypeService.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 
11 11
 use eZ\Publish\API\Repository\ContentTypeService as ContentTypeServiceInterface;
12 12
 use eZ\Publish\API\Repository\Repository as RepositoryInterface;
13
-use eZ\Publish\API\Repository\Values\ContentType\ContentType;
13
+use eZ\Publish\API\Repository\Values\ContentType\ContentType as APIContentType;
14 14
 use eZ\Publish\SPI\Persistence\Content\Type\Handler;
15 15
 use eZ\Publish\API\Repository\Exceptions\NotFoundException as APINotFoundException;
16 16
 use eZ\Publish\API\Repository\Exceptions\BadStateException as APIBadStateException;
@@ -19,7 +19,6 @@  discard block
 block discarded – undo
19 19
 use eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionUpdateStruct;
20 20
 use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition as APIFieldDefinition;
21 21
 use eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionCreateStruct;
22
-use eZ\Publish\API\Repository\Values\ContentType\ContentType as APIContentType;
23 22
 use eZ\Publish\API\Repository\Values\ContentType\ContentTypeDraft as APIContentTypeDraft;
24 23
 use eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup as APIContentTypeGroup;
25 24
 use eZ\Publish\API\Repository\Values\ContentType\ContentTypeUpdateStruct;
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/URLAliasService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
      * @param bool $showAllTranslations
322 322
      * @param string[] $prioritizedLanguageList
323 323
      *
324
-     * @return string|bool
324
+     * @return false|string
325 325
      */
326 326
     protected function extractPath(
327 327
         SPIURLAlias $spiUrlAlias,
@@ -674,7 +674,7 @@  discard block
 block discarded – undo
674 674
      * @param \eZ\Publish\API\Repository\Values\Content\Location $location
675 675
      * @param string $languageCode
676 676
      * @param bool|null $showAllTranslations
677
-     * @param string[]|null $prioritizedLanguageList
677
+     * @param string[] $prioritizedLanguageList
678 678
      *
679 679
      * @return \eZ\Publish\API\Repository\Values\Content\URLAlias
680 680
      */
Please login to merge, or discard this patch.