Completed
Push — search_feature_flags ( f33631...aaf89e )
by André
90:30 queued 69:00
created
eZ/Publish/API/Repository/Tests/ContentServiceTest.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2858,7 +2858,7 @@  discard block
 block discarded – undo
2858 2858
     /**
2859 2859
      * Test for the addRelation() method.
2860 2860
      *
2861
-     * @return \eZ\Publish\API\Repository\Values\Content\Content
2861
+     * @return Relation[]
2862 2862
      *
2863 2863
      * @see \eZ\Publish\API\Repository\ContentService::addRelation()
2864 2864
      * @depends eZ\Publish\API\Repository\Tests\ContentServiceTest::testPublishVersionFromContentDraft
@@ -4768,7 +4768,7 @@  discard block
 block discarded – undo
4768 4768
     /**
4769 4769
      * Simplify creating custom role with limited set of policies.
4770 4770
      *
4771
-     * @param $roleName
4771
+     * @param string $roleName
4772 4772
      * @param array $policies e.g. [ ['content', 'create'], ['content', 'edit'], ]
4773 4773
      */
4774 4774
     private function createRoleWithPolicies($roleName, array $policies)
@@ -4791,7 +4791,7 @@  discard block
 block discarded – undo
4791 4791
      * given properties are available in $actualAliases and not more.
4792 4792
      *
4793 4793
      * @param array $expectedAliasProperties
4794
-     * @param array $actualAliases
4794
+     * @param URLAlias[] $actualAliases
4795 4795
      */
4796 4796
     private function assertAliasesCorrect(array $expectedAliasProperties, array $actualAliases)
4797 4797
     {
@@ -4953,7 +4953,7 @@  discard block
 block discarded – undo
4953 4953
     /**
4954 4954
      * Returns the default fixture of fields used in most tests.
4955 4955
      *
4956
-     * @return \eZ\Publish\API\Repository\Values\Content\Field[]
4956
+     * @return Field[]
4957 4957
      */
4958 4958
     private function createFieldsFixture()
4959 4959
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/ContentTypeServiceTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -888,7 +888,7 @@  discard block
 block discarded – undo
888 888
      * Asserts that the given $actualDefinition is correctly created from the
889 889
      * create struct in $expectedCreate.
890 890
      *
891
-     * @param \eZ\Publish\API\Repository\Values\FieldDefinitionCreateStruct $expectedDefinitionCreate
891
+     * @param \eZ\Publish\API\Repository\Values\FieldDefinitionCreateStruct $expectedCreate
892 892
      * @param \eZ\Publish\API\Repository\Values\FieldDefinition $actualDefinition
893 893
      */
894 894
     protected function assertFieldDefinitionsEqual($expectedCreate, $actualDefinition)
@@ -3007,7 +3007,7 @@  discard block
 block discarded – undo
3007 3007
     /**
3008 3008
      * @param \eZ\Publish\API\Repository\Values\ContentType\ContentType $originalType
3009 3009
      * @param \eZ\Publish\API\Repository\Values\ContentType\ContentType $copiedType
3010
-     * @param array $excludedProperties
3010
+     * @param string[] $excludedProperties
3011 3011
      */
3012 3012
     private function assertCopyContentTypeValues($originalType, $copiedType, $excludedProperties = [])
3013 3013
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/Common/FacetedSearchProvider.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
  */
9 9
 namespace eZ\Publish\API\Repository\Tests\Common;
10 10
 
11
-use eZ\Publish\API\Repository\Values\Content\Query;
12 11
 use eZ\Publish\API\Repository\Values\Content\Query\Criterion;
13 12
 use eZ\Publish\API\Repository\Values\Content\Query\SortClause;
14 13
 use eZ\Publish\API\Repository\Values\Content\Query\FacetBuilder;
Please login to merge, or discard this patch.
eZ/Publish/Core/FieldType/Tests/FieldTypeTest.php 1 patch
Doc Comments   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     private $fieldTypeUnderTest;
23 23
 
24 24
     /**
25
-     * @return \eZ\Publish\Core\Persistence\TransformationProcessor|\PHPUnit_Framework_MockObject_MockObject
25
+     * @return \eZ\Publish\Core\Persistence\TransformationProcessor
26 26
      */
27 27
     protected function getTransformationProcessorMock()
28 28
     {
@@ -679,7 +679,6 @@  discard block
 block discarded – undo
679 679
     }
680 680
 
681 681
     /**
682
-     * @param mixed $inputValue
683 682
      * @param array $expectedResult
684 683
      *
685 684
      * @dataProvider provideInputForFromHash
@@ -827,7 +826,6 @@  discard block
 block discarded – undo
827 826
     }
828 827
 
829 828
     /**
830
-     * @param mixed $inputConfiguration
831 829
      *
832 830
      * @dataProvider provideValidFieldSettings
833 831
      */
@@ -855,7 +853,6 @@  discard block
 block discarded – undo
855 853
     }
856 854
 
857 855
     /**
858
-     * @param mixed $inputConfiguration
859 856
      *
860 857
      * @dataProvider provideValidFieldSettings
861 858
      */
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/FieldType/BaseIntegrationTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -369,6 +369,7 @@  discard block
 block discarded – undo
369 369
     /**
370 370
      * @covers \eZ\Publish\Core\FieldType\FieldType::isEmptyValue
371 371
      * @dataProvider providerForTestIsEmptyValue
372
+     * @param \eZ\Publish\SPI\FieldType\Value|null $value
372 373
      */
373 374
     public function testIsEmptyValue($value)
374 375
     {
@@ -380,6 +381,7 @@  discard block
 block discarded – undo
380 381
     /**
381 382
      * @covers \eZ\Publish\Core\FieldType\FieldType::isEmptyValue
382 383
      * @dataProvider providerForTestIsNotEmptyValue
384
+     * @param \eZ\Publish\SPI\FieldType\Value|null $value
383 385
      */
384 386
     public function testIsNotEmptyValue($value)
385 387
     {
@@ -509,6 +511,7 @@  discard block
 block discarded – undo
509 511
      * Creates content with $fieldData.
510 512
      *
511 513
      * @param mixed $fieldData
514
+     * @param Repository\Values\ContentType\ContentType $contentType
512 515
      *
513 516
      * @return \eZ\Publish\API\Repository\Values\Content\Content
514 517
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Content/FieldHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -417,7 +417,7 @@
 block discarded – undo
417 417
      * @param \eZ\Publish\SPI\Persistence\Content\Field[] $fields
418 418
      * @param array $languageCodes
419 419
      *
420
-     * @return \eZ\Publish\SPI\Persistence\Content\Field[][]
420
+     * @return Content
421 421
      */
422 422
     protected function getFieldMap(array $fields, &$languageCodes = null)
423 423
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Tests/Service/Mock/DomainMapperTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     }
118 118
 
119 119
     /**
120
-     * @return \eZ\Publish\SPI\Persistence\Content\Language\Handler|\PHPUnit_Framework_MockObject_MockObject
120
+     * @return \eZ\Publish\SPI\Persistence\Content\Language\Handler
121 121
      */
122 122
     protected function getLanguageHandlerMock()
123 123
     {
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     }
126 126
 
127 127
     /**
128
-     * @return \eZ\Publish\SPI\Persistence\Content\Type\Handler|\PHPUnit_Framework_MockObject_MockObject
128
+     * @return \eZ\Publish\SPI\Persistence\Content\Type\Handler
129 129
      */
130 130
     protected function getTypeHandlerMock()
131 131
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Client/ContentTypeService.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -513,9 +513,9 @@  discard block
 block discarded – undo
513 513
      * ATTENTION: This is not an API method and only meant for internal use in
514 514
      * the REST Client implementation.
515 515
      *
516
-     * @param mixed $fieldDefinitionListReference
516
+     * @param string $fieldDefinitionListReference
517 517
      *
518
-     * @return \eZ\Publish\Core\REST\Client\Values\FieldDefinitionList
518
+     * @return \eZ\Publish\API\Repository\Values\ValueObject
519 519
      */
520 520
     public function loadFieldDefinitionList($fieldDefinitionListReference)
521 521
     {
@@ -536,9 +536,9 @@  discard block
 block discarded – undo
536 536
      * ATTENTION: This is not an API method and only meant for internal use in
537 537
      * the REST Client implementation.
538 538
      *
539
-     * @param mixed $contentTypeGroupListReference
539
+     * @param string $contentTypeGroupListReference
540 540
      *
541
-     * @return \eZ\Publish\Core\REST\Client\Values\ContentTypeGroupRefList
541
+     * @return \eZ\Publish\API\Repository\Values\ValueObject
542 542
      */
543 543
     public function loadContentTypeGroupList($contentTypeGroupListReference)
544 544
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Values/MultiLanguageDescriptionTrait.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -30,6 +30,7 @@
 block discarded – undo
30 30
 
31 31
     /**
32 32
      * {@inheritdoc}
33
+     * @param string $languageCode
33 34
      */
34 35
     public function getDescription($languageCode = null)
35 36
     {
Please login to merge, or discard this patch.