Completed
Push — lazy_content_type ( 8d23f7...0f043a )
by André
11:01
created
eZ/Publish/Core/Repository/Helper/DomainMapper.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      * Builds a Content domain object from value object returned from persistence.
97 97
      *
98 98
      * @param \eZ\Publish\SPI\Persistence\Content $spiContent
99
-     * @param ContentType|SPIType $contentType
99
+     * @param ContentType $contentType
100 100
      * @param array|null $fieldLanguages Language codes to filter fields on
101 101
      * @param string|null $fieldAlwaysAvailableLanguage Language code fallback if a given field is not found in $fieldLanguages
102 102
      *
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
      *                         returned value object. If not given all languages are returned.
152 152
      * @param string|null $alwaysAvailableLanguage Language code fallback if a given field is not found in $languages
153 153
      *
154
-     * @return \eZ\Publish\API\Repository\Values\Content\Field[]|\Generator
154
+     * @return \Generator
155 155
      */
156 156
     public function buildDomainFields(array $spiFields, ContentType $contentType, array $languages = null, $alwaysAvailableLanguage = null)
157 157
     {
@@ -387,7 +387,7 @@  discard block
 block discarded – undo
387 387
      * @param \eZ\Publish\API\Repository\Values\Content\Location $parentLocation
388 388
      * @param mixed $mainLocation
389 389
      * @param mixed $contentId
390
-     * @param mixed $contentVersionNo
390
+     * @param null|integer $contentVersionNo
391 391
      *
392 392
      * @return \eZ\Publish\SPI\Persistence\Content\Location\CreateStruct
393 393
      */
Please login to merge, or discard this patch.