Completed
Push — master ( 65f512...fe0390 )
by Łukasz
26:26
created
eZ/Publish/Core/Persistence/Legacy/Content/Gateway/DoctrineDatabase.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -116,9 +116,9 @@  discard block
 block discarded – undo
116 116
      * Inserts a new content object.
117 117
      *
118 118
      * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct
119
-     * @param mixed $currentVersionNo
119
+     * @param integer $currentVersionNo
120 120
      *
121
-     * @return int ID
121
+     * @return string ID
122 122
      */
123 123
     public function insertContentObject(CreateStruct $struct, $currentVersionNo = 1)
124 124
     {
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
      * @param \eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo
221 221
      * @param \eZ\Publish\SPI\Persistence\Content\Field[] $fields
222 222
      *
223
-     * @return int ID
223
+     * @return string ID
224 224
      */
225 225
     public function insertVersion(VersionInfo $versionInfo, array $fields)
226 226
     {
@@ -614,7 +614,7 @@  discard block
 block discarded – undo
614 614
      * @param \eZ\Publish\SPI\Persistence\Content\Field $field
615 615
      * @param \eZ\Publish\Core\Persistence\Legacy\Content\StorageFieldValue $value
616 616
      *
617
-     * @return int ID
617
+     * @return string ID
618 618
      */
619 619
     public function insertNewField(Content $content, Field $field, StorageFieldValue $value)
620 620
     {
@@ -824,9 +824,9 @@  discard block
 block discarded – undo
824 824
      *
825 825
      * Returns an array with the relevant data.
826 826
      *
827
-     * @param mixed $contentId
828
-     * @param mixed $version
829
-     * @param string[]|null $translations
827
+     * @param integer $contentId
828
+     * @param integer $version
829
+     * @param string[] $translations
830 830
      *
831 831
      * @return array
832 832
      */
@@ -1087,7 +1087,7 @@  discard block
 block discarded – undo
1087 1087
      *
1088 1088
      * Result is returned with oldest version first (using version id as it has index and is auto increment).
1089 1089
      *
1090
-     * @param mixed $contentId
1090
+     * @param integer $contentId
1091 1091
      * @param mixed|null $status Optional argument to filter versions by status, like {@see VersionInfo::STATUS_ARCHIVED}.
1092 1092
      * @param int $limit Limit for items returned, -1 means none.
1093 1093
      *
@@ -1155,7 +1155,7 @@  discard block
 block discarded – undo
1155 1155
     /**
1156 1156
      * Returns all version numbers for the given $contentId.
1157 1157
      *
1158
-     * @param mixed $contentId
1158
+     * @param integer $contentId
1159 1159
      *
1160 1160
      * @return int[]
1161 1161
      */
@@ -1853,7 +1853,7 @@  discard block
 block discarded – undo
1853 1853
      *
1854 1854
      * @param \eZ\Publish\SPI\Persistence\Content\Relation\CreateStruct $createStruct
1855 1855
      *
1856
-     * @return int ID the inserted ID
1856
+     * @return string ID the inserted ID
1857 1857
      */
1858 1858
     public function insertRelation(RelationCreateStruct $createStruct)
1859 1859
     {
Please login to merge, or discard this patch.
eZ/Publish/SPI/Persistence/Content/Handler.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -242,6 +242,7 @@  discard block
 block discarded – undo
242 242
      *                 \eZ\Publish\API\Repository\Values\Content\Relation::EMBED,
243 243
      *                 \eZ\Publish\API\Repository\Values\Content\Relation::LINK,
244 244
      *                 \eZ\Publish\API\Repository\Values\Content\Relation::FIELD}
245
+     * @return void
245 246
      */
246 247
     public function removeRelation($relationId, $type);
247 248
 
@@ -293,6 +294,7 @@  discard block
 block discarded – undo
293 294
      *
294 295
      * @param int $contentId
295 296
      * @param string $languageCode language code of the translation
297
+     * @return void
296 298
      */
297 299
     public function removeTranslationFromContent($contentId, $languageCode);
298 300
 
@@ -301,6 +303,7 @@  discard block
 block discarded – undo
301 303
      *
302 304
      * @param int $contentId
303 305
      * @param string $languageCode language code of the translation
306
+     * @return void
304 307
      */
305 308
     public function deleteTranslationFromContent($contentId, $languageCode);
306 309
 
Please login to merge, or discard this patch.