Completed
Push — ezp_30797 ( c9135e...a01256 )
by
unknown
19:32
created
eZ/Publish/Core/Helper/Tests/PreviewLocationProviderTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -125,6 +125,9 @@
 block discarded – undo
125 125
         $this->assertNull($this->provider->loadMainLocation($contentId));
126 126
     }
127 127
 
128
+    /**
129
+     * @param integer $mainLocationId
130
+     */
128 131
     private function getContentMock(int $contentId, ?int $mainLocationId = null, bool $published = false): Content
129 132
     {
130 133
         $contentInfo = new APIContentInfo([
Please login to merge, or discard this patch.
eZ/Publish/Core/MVC/Symfony/View/Tests/AbstractViewTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@
 block discarded – undo
15 15
 
16 16
 abstract class AbstractViewTest extends TestCase
17 17
 {
18
+    /**
19
+     * @param string $template
20
+     */
18 21
     abstract protected function createViewUnderTest($template = null, array $parameters = [], $viewType = 'full'): View;
19 22
 
20 23
     /**
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Helper/DomainMapper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
      * @throws InvalidArgumentType On invalid $contentType
242 242
      *
243 243
      * @param \eZ\Publish\SPI\Persistence\Content\Field[] $spiFields
244
-     * @param \eZ\Publish\API\Repository\Values\ContentType\ContentType|\eZ\Publish\SPI\Persistence\Content\Type $contentType
244
+     * @param ContentType $contentType
245 245
      * @param array $prioritizedLanguages A language priority, filters returned fields and is used as prioritized language code on
246 246
      *                         returned value object. If not given all languages are returned.
247 247
      * @param string|null $alwaysAvailableLanguage Language code fallback if a given field is not found in $prioritizedLanguages
@@ -684,7 +684,7 @@  discard block
 block discarded – undo
684 684
      * @param \eZ\Publish\API\Repository\Values\Content\Location $parentLocation
685 685
      * @param mixed $mainLocation
686 686
      * @param mixed $contentId
687
-     * @param mixed $contentVersionNo
687
+     * @param null|integer $contentVersionNo
688 688
      *
689 689
      * @return \eZ\Publish\SPI\Persistence\Content\Location\CreateStruct
690 690
      */
Please login to merge, or discard this patch.