Completed
Push — ezp-31079-follow-up ( d3da52...93ebb2 )
by
unknown
12:55
created
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|null $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.
eZ/Publish/Core/Repository/UserService.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
     /**
174 174
      * Loads a user group for the given id.
175 175
      *
176
-     * @param mixed $id
176
+     * @param integer $id
177 177
      * @param string[] $prioritizedLanguages Used as prioritized language code on translated properties of returned object.
178 178
      *
179 179
      * @return \eZ\Publish\API\Repository\Values\User\UserGroup
@@ -1371,6 +1371,9 @@  discard block
 block discarded – undo
1371 1371
             !empty($userUpdateStruct->maxLogin);
1372 1372
     }
1373 1373
 
1374
+    /**
1375
+     * @param integer|null $timestamp
1376
+     */
1374 1377
     private function getDateTime(?int $timestamp): ?DateTimeInterface
1375 1378
     {
1376 1379
         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.
eZ/Publish/API/Repository/Values/Content/Query/Criterion/LogicalNot.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      *
21 21
      * Will match of the given criterion doesn't match
22 22
      *
23
-     * @param \eZ\Publish\API\Repository\Values\Content\Query\Criterion[] $criteria One criterion, as an array
23
+     * @param \eZ\Publish\API\Repository\Values\Content\Query\Criterion[] $criterion One criterion, as an array
24 24
      *
25 25
      * @throws \InvalidArgumentException if more than one criterion is given in the array parameter
26 26
      */
Please login to merge, or discard this patch.