Completed
Push — 7.5 ( 452d24...a4a316 )
by
unknown
19:40
created
eZ/Bundle/EzPublishIOBundle/BinaryStreamResponse.php 1 patch
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,7 +41,6 @@  discard block
 block discarded – undo
41 41
      * @param array               $headers            An array of response headers
42 42
      * @param bool                $public             Files are public by default
43 43
      * @param string|null         $contentDisposition The type of Content-Disposition to set automatically with the filename
44
-     * @param bool                $autoEtag           Whether the ETag header should be automatically set
45 44
      * @param bool                $autoLastModified   Whether the Last-Modified header should be automatically set
46 45
      */
47 46
     public function __construct(BinaryFile $binaryFile, IOServiceInterface $ioService, $status = 200, $headers = [], $public = true, $contentDisposition = null, $autoLastModified = true)
@@ -60,12 +59,11 @@  discard block
 block discarded – undo
60 59
     /**
61 60
      * Sets the file to stream.
62 61
      *
63
-     * @param \SplFileInfo|string $file The file to stream
62
+     * @param BinaryFile $file The file to stream
64 63
      * @param string $contentDisposition
65
-     * @param bool $autoEtag
66 64
      * @param bool $autoLastModified
67 65
      *
68
-     * @return BinaryFileResponse
66
+     * @return BinaryStreamResponse
69 67
      */
70 68
     public function setFile($file, $contentDisposition = null, $autoLastModified = true)
71 69
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/FieldType/KeywordIntegrationTest.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     /**
99 99
      * Get initial field data for valid object creation.
100 100
      *
101
-     * @return mixed
101
+     * @return KeywordValue
102 102
      */
103 103
     public function getValidCreationFieldData()
104 104
     {
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
     /**
194 194
      * Get update field externals data.
195 195
      *
196
-     * @return array
196
+     * @return KeywordValue
197 197
      */
198 198
     public function getValidUpdateFieldData()
199 199
     {
@@ -373,6 +373,8 @@  discard block
 block discarded – undo
373 373
 
374 374
     /**
375 375
      * {@inheritdoc}
376
+     * @param KeywordValue $fieldData
377
+     * @param ContentType $contentType
376 378
      */
377 379
     protected function createContent($fieldData, $contentType = null)
378 380
     {
@@ -430,7 +432,7 @@  discard block
 block discarded – undo
430 432
     /**
431 433
      * Create and publish content of $contentType with $fieldData.
432 434
      *
433
-     * @param mixed $fieldData
435
+     * @param string $fieldData
434 436
      * @param \eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType
435 437
      * @param string $remoteId
436 438
      *
Please login to merge, or discard this patch.
API/Repository/Tests/Values/User/Limitation/RolePolicyLimitationTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
     /**
100 100
      * Perform search by the Subtree Criterion for the given subtree path and return results count.
101 101
      *
102
-     * @param $subtreePathString
102
+     * @param string $subtreePathString
103 103
      *
104 104
      * @return int|null
105 105
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/MVC/Symfony/FieldType/RichText/Renderer.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -381,9 +381,9 @@
 block discarded – undo
381 381
     /**
382 382
      * Returns configured template reference for the given embed parameters.
383 383
      *
384
-     * @param $resourceType
385
-     * @param $isInline
386
-     * @param $isDenied
384
+     * @param integer $resourceType
385
+     * @param boolean $isInline
386
+     * @param boolean $isDenied
387 387
      *
388 388
      * @return string|null
389 389
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/Search/Common/Indexer.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     /**
62 62
      * Get PDOStatement to fetch metadata about content objects to be indexed.
63 63
      *
64
-     * @param array $fields Select fields
64
+     * @param string[] $fields Select fields
65 65
      *
66 66
      * @return \PDOStatement
67 67
      */
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
      * Log warning while progress bar is shown.
102 102
      *
103 103
      * @param \Symfony\Component\Console\Helper\ProgressBar $progress
104
-     * @param $message
104
+     * @param string $message
105 105
      */
106 106
     protected function logWarning(ProgressBar $progress, $message)
107 107
     {
Please login to merge, or discard this patch.
Publish/Core/Search/Legacy/Content/WordIndexer/Gateway/DoctrineDatabase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
190 190
      *
191 191
      * @see https://github.com/ezsystems/ezpublish-legacy/blob/master/kernel/search/plugins/ezsearchengine/ezsearchengine.php#L386
192 192
      *
193
-     * @param mixed $contentId
193
+     * @param integer $contentId
194 194
      * @param mixed|null $versionId
195 195
      *
196 196
      * @return bool
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/SearchServiceTest.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1239,7 +1239,7 @@  discard block
 block discarded – undo
1239 1239
     /**
1240 1240
      * Create test Content with ezcountry field having multiple countries selected.
1241 1241
      *
1242
-     * @return \eZ\Publish\API\Repository\Values\Content\Content[]
1242
+     * @return Content
1243 1243
      */
1244 1244
     protected function createMultipleCountriesContent()
1245 1245
     {
@@ -3878,6 +3878,7 @@  discard block
 block discarded – undo
3878 3878
      * Test for the findContent() method.
3879 3879
      *
3880 3880
      * @see \eZ\Publish\API\Repository\SearchService::findContent()
3881
+     * @param string $queryType
3881 3882
      */
3882 3883
     public function testUserMetadataGroupHorizontalFilterContent($queryType = null)
3883 3884
     {
@@ -3967,6 +3968,7 @@  discard block
 block discarded – undo
3967 3968
      * Test for the findLocations() method.
3968 3969
      *
3969 3970
      * @see \eZ\Publish\API\Repository\SearchService::findLocations()
3971
+     * @param string $queryType
3970 3972
      */
3971 3973
     public function testUserMetadataGroupHorizontalFilterLocation($queryType = null)
3972 3974
     {
@@ -4686,7 +4688,7 @@  discard block
 block discarded – undo
4686 4688
      *
4687 4689
      * @param callable|null $closure
4688 4690
      *
4689
-     * @return callable
4691
+     * @return \Closure
4690 4692
      */
4691 4693
     private function getContentInfoFixtureClosure($closure = null)
4692 4694
     {
@@ -4787,7 +4789,7 @@  discard block
 block discarded – undo
4787 4789
     /**
4788 4790
      * @param string $findMethod
4789 4791
      * @param \eZ\Publish\API\Repository\Values\Content\Query $query
4790
-     * @param array $languages
4792
+     * @param string[] $languages
4791 4793
      * @param bool $useAlwaysAvailable
4792 4794
      *
4793 4795
      * @throws \InvalidArgumentException
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/ContentTypeService.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 
11 11
 use eZ\Publish\API\Repository\ContentTypeService as ContentTypeServiceInterface;
12 12
 use eZ\Publish\API\Repository\Repository as RepositoryInterface;
13
-use eZ\Publish\API\Repository\Values\ContentType\ContentType;
13
+use eZ\Publish\API\Repository\Values\ContentType\ContentType as APIContentType;
14 14
 use eZ\Publish\SPI\Persistence\Content\Type\Handler;
15 15
 use eZ\Publish\API\Repository\Exceptions\NotFoundException as APINotFoundException;
16 16
 use eZ\Publish\API\Repository\Exceptions\BadStateException as APIBadStateException;
@@ -19,7 +19,6 @@  discard block
 block discarded – undo
19 19
 use eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionUpdateStruct;
20 20
 use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition as APIFieldDefinition;
21 21
 use eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionCreateStruct;
22
-use eZ\Publish\API\Repository\Values\ContentType\ContentType as APIContentType;
23 22
 use eZ\Publish\API\Repository\Values\ContentType\ContentTypeDraft as APIContentTypeDraft;
24 23
 use eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup as APIContentTypeGroup;
25 24
 use eZ\Publish\API\Repository\Values\ContentType\ContentTypeUpdateStruct;
Please login to merge, or discard this patch.
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 $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.