Completed
Push — content_service_typehint ( 2c63b8 )
by
unknown
12:28
created
eZ/Publish/Core/Persistence/Legacy/Content/Gateway/DoctrineDatabase.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      * Inserts a new content object.
121 121
      *
122 122
      * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct
123
-     * @param mixed $currentVersionNo
123
+     * @param integer $currentVersionNo
124 124
      *
125 125
      * @return int ID
126 126
      */
@@ -1237,7 +1237,7 @@  discard block
 block discarded – undo
1237 1237
      *
1238 1238
      * Result is returned with oldest version first (using version id as it has index and is auto increment).
1239 1239
      *
1240
-     * @param mixed $contentId
1240
+     * @param integer $contentId
1241 1241
      * @param mixed|null $status Optional argument to filter versions by status, like {@see VersionInfo::STATUS_ARCHIVED}.
1242 1242
      * @param int $limit Limit for items returned, -1 means none.
1243 1243
      *
@@ -1305,7 +1305,7 @@  discard block
 block discarded – undo
1305 1305
     /**
1306 1306
      * Returns all version numbers for the given $contentId.
1307 1307
      *
1308
-     * @param mixed $contentId
1308
+     * @param integer $contentId
1309 1309
      *
1310 1310
      * @return int[]
1311 1311
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/ContentService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
      * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException - if the version with the given number does not exist
223 223
      * @throws \eZ\Publish\API\Repository\Exceptions\UnauthorizedException if the user is not allowed to load this version
224 224
      *
225
-     * @param mixed $contentId
225
+     * @param integer $contentId
226 226
      * @param int $versionNo the version number. If not given the current version is returned.
227 227
      *
228 228
      * @return \eZ\Publish\API\Repository\Values\Content\VersionInfo
@@ -1602,7 +1602,7 @@  discard block
 block discarded – undo
1602 1602
 
1603 1603
     /**
1604 1604
      * @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo
1605
-     * @param array $translations
1605
+     * @param string[] $translations
1606 1606
      *
1607 1607
      * @throws \eZ\Publish\API\Repository\Exceptions\BadStateException
1608 1608
      * @throws \eZ\Publish\API\Repository\Exceptions\ContentFieldValidationException
Please login to merge, or discard this patch.