Completed
Push — ezp_31482 ( d11e83...f4fa7d )
by
unknown
24:56 queued 10:05
created
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.
MVC/Symfony/EventListener/Tests/ContentViewTwigVariablesSubscriberTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 final class ContentViewTwigVariablesSubscriberTest extends TestCase
24 24
 {
25 25
     /**
26
-     * @return \eZ\Publish\Core\MVC\Symfony\View\ContentView|\PHPUnit\Framework\MockObject\MockObject
26
+     * @return View
27 27
      */
28 28
     private function getContentViewMock(): ContentView
29 29
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Helper/PreviewLocationProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      * @see loadMainLocationByContent
57 57
      * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException
58 58
      * @throws \eZ\Publish\API\Repository\Exceptions\UnauthorizedException
59
-     * @param mixed $contentId
59
+     * @param integer $contentId
60 60
      *
61 61
      * @return \eZ\Publish\API\Repository\Values\Content\Location|null
62 62
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/ContentService.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
      * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException - if the version with the given number does not exist
227 227
      * @throws \eZ\Publish\API\Repository\Exceptions\UnauthorizedException if the user is not allowed to load this version
228 228
      *
229
-     * @param mixed $contentId
229
+     * @param integer $contentId
230 230
      * @param int $versionNo the version number. If not given the current version is returned.
231 231
      *
232 232
      * @return \eZ\Publish\API\Repository\Values\Content\VersionInfo
@@ -1482,7 +1482,7 @@  discard block
 block discarded – undo
1482 1482
      *
1483 1483
      * @param \eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct $contentUpdateStruct
1484 1484
      *
1485
-     * @return array
1485
+     * @return string[]
1486 1486
      */
1487 1487
     private function getUpdatedLanguageCodes(APIContentUpdateStruct $contentUpdateStruct)
1488 1488
     {
@@ -1509,7 +1509,7 @@  discard block
 block discarded – undo
1509 1509
      * @param \eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct $contentUpdateStruct
1510 1510
      * @param \eZ\Publish\API\Repository\Values\Content\Content $content
1511 1511
      *
1512
-     * @return array
1512
+     * @return string[]
1513 1513
      */
1514 1514
     protected function getLanguageCodesForUpdate(APIContentUpdateStruct $contentUpdateStruct, APIContent $content)
1515 1515
     {
@@ -1633,7 +1633,7 @@  discard block
 block discarded – undo
1633 1633
 
1634 1634
     /**
1635 1635
      * @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo
1636
-     * @param array $translations
1636
+     * @param string[] $translations
1637 1637
      *
1638 1638
      * @throws \eZ\Publish\API\Repository\Exceptions\BadStateException
1639 1639
      * @throws \eZ\Publish\API\Repository\Exceptions\ContentFieldValidationException
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/UserService.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
     /**
175 175
      * Loads a user group for the given id.
176 176
      *
177
-     * @param mixed $id
177
+     * @param integer $id
178 178
      * @param string[] $prioritizedLanguages Used as prioritized language code on translated properties of returned object.
179 179
      *
180 180
      * @return \eZ\Publish\API\Repository\Values\User\UserGroup
@@ -449,10 +449,10 @@  discard block
 block discarded – undo
449 449
     /**
450 450
      * Loads a user.
451 451
      *
452
-     * @param mixed $userId
452
+     * @param integer $userId
453 453
      * @param string[] $prioritizedLanguages Used as prioritized language code on translated properties of returned object.
454 454
      *
455
-     * @return \eZ\Publish\API\Repository\Values\User\User
455
+     * @return \eZ\Publish\API\Repository\Values\ValueObject
456 456
      *
457 457
      * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException if a user with the given id was not found
458 458
      */
@@ -1378,6 +1378,9 @@  discard block
 block discarded – undo
1378 1378
             !empty($userUpdateStruct->maxLogin);
1379 1379
     }
1380 1380
 
1381
+    /**
1382
+     * @param integer|null $timestamp
1383
+     */
1381 1384
     private function getDateTime(?int $timestamp): ?DateTimeInterface
1382 1385
     {
1383 1386
         if ($timestamp !== null) {
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Values/User/User.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      * @param string $fieldDefIdentifier
55 55
      * @param string $languageCode
56 56
      *
57
-     * @return mixed a primitive type or a field type Value object depending on the field type.
57
+     * @return Value|null a primitive type or a field type Value object depending on the field type.
58 58
      */
59 59
     public function getFieldValue(string $fieldDefIdentifier, ?string $languageCode = null): ?Value
60 60
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Values/User/UserGroup.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
      * @param string $fieldDefIdentifier
54 54
      * @param string|null $languageCode
55 55
      *
56
-     * @return mixed a primitive type or a field type Value object depending on the field type.
56
+     * @return Value|null a primitive type or a field type Value object depending on the field type.
57 57
      */
58 58
     public function getFieldValue(string $fieldDefIdentifier, ?string $languageCode = null): ?Value
59 59
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Values/Content/Query/Criterion.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
      *
151 151
      * @param int $valueTypes The accepted values, as a bit field of Specifications::TYPE_* constants
152 152
      *
153
-     * @return callable
153
+     * @return \Closure
154 154
      */
155 155
     private function getValueTypeCheckCallback(int $valueTypes): callable
156 156
     {
Please login to merge, or discard this patch.