@@ -100,6 +100,9 @@ |
||
| 100 | 100 | ); |
| 101 | 101 | } |
| 102 | 102 | |
| 103 | + /** |
|
| 104 | + * @return DeprecationWarnerInterface |
|
| 105 | + */ |
|
| 103 | 106 | public function getDeprecationWarnerMock() |
| 104 | 107 | { |
| 105 | 108 | if (!isset($this->deprecationWarnerMock)) { |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | use eZ\Publish\API\Repository\ContentTypeService as APIContentTypeService; |
| 15 | 15 | use eZ\Publish\API\Repository\LocationService as APILocationService; |
| 16 | 16 | use eZ\Publish\API\Repository\Exceptions\NotFoundException as APINotFoundException; |
| 17 | -use eZ\Publish\API\Repository\Values\Content\ContentInfo as APIContentInfo; |
|
| 17 | +use eZ\Publish\API\Repository\Values\Content\ContentInfo; |
|
| 18 | 18 | use eZ\Publish\API\Repository\Values\ContentType\ContentType as APIContentType; |
| 19 | 19 | use eZ\Publish\API\Repository\Values\Content\Location as APILocation; |
| 20 | 20 | use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition as APIFieldDefinition; |
@@ -33,7 +33,6 @@ discard block |
||
| 33 | 33 | use eZ\Publish\Core\Repository\Helper\NameSchemaService; |
| 34 | 34 | use eZ\Publish\API\Repository\Values\Content\Field; |
| 35 | 35 | use eZ\Publish\Core\FieldType\Value; |
| 36 | -use eZ\Publish\API\Repository\Values\Content\ContentInfo; |
|
| 37 | 36 | use eZ\Publish\API\Repository\Values\Content\VersionInfo as APIVersionInfo; |
| 38 | 37 | use eZ\Publish\Core\Repository\Values\ContentType\ContentType; |
| 39 | 38 | use eZ\Publish\Core\Repository\Values\ContentType\FieldDefinition; |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | /** |
| 67 | 67 | * Sets the complete list of view providers. |
| 68 | 68 | * |
| 69 | - * @param array $viewProviders |
|
| 69 | + * @param \PHPUnit\Framework\MockObject\MockObject $viewProviders |
|
| 70 | 70 | */ |
| 71 | 71 | public function setViewProviders(array $viewProviders) |
| 72 | 72 | { |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | /** |
| 87 | 87 | * @dataProvider indexingProvider |
| 88 | 88 | * |
| 89 | - * @param array|null $value |
|
| 89 | + * @param array|null $values |
|
| 90 | 90 | * @param \Psr\Log\LoggerInterface|\PHPUnit\Framework\MockObject\MockObject|null $logger |
| 91 | 91 | */ |
| 92 | 92 | public function testIndexing(array $values = null, $logger = null) |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | private $fieldTypeUnderTest; |
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | - * @return \eZ\Publish\Core\Persistence\TransformationProcessor|\PHPUnit\Framework\MockObject\MockObject |
|
| 28 | + * @return TransformationProcessor |
|
| 29 | 29 | */ |
| 30 | 30 | protected function getTransformationProcessorMock() |
| 31 | 31 | { |
@@ -682,7 +682,6 @@ discard block |
||
| 682 | 682 | } |
| 683 | 683 | |
| 684 | 684 | /** |
| 685 | - * @param mixed $inputValue |
|
| 686 | 685 | * @param array $expectedResult |
| 687 | 686 | * |
| 688 | 687 | * @dataProvider provideInputForFromHash |
@@ -830,7 +829,6 @@ discard block |
||
| 830 | 829 | } |
| 831 | 830 | |
| 832 | 831 | /** |
| 833 | - * @param mixed $inputConfiguration |
|
| 834 | 832 | * |
| 835 | 833 | * @dataProvider provideValidFieldSettings |
| 836 | 834 | */ |
@@ -858,7 +856,6 @@ discard block |
||
| 858 | 856 | } |
| 859 | 857 | |
| 860 | 858 | /** |
| 861 | - * @param mixed $inputConfiguration |
|
| 862 | 859 | * |
| 863 | 860 | * @dataProvider provideValidFieldSettings |
| 864 | 861 | */ |
@@ -355,7 +355,7 @@ discard block |
||
| 355 | 355 | } |
| 356 | 356 | |
| 357 | 357 | /** |
| 358 | - * @return array |
|
| 358 | + * @return string[] |
|
| 359 | 359 | */ |
| 360 | 360 | protected function getContext() |
| 361 | 361 | { |
@@ -368,7 +368,7 @@ discard block |
||
| 368 | 368 | protected $loggerMock; |
| 369 | 369 | |
| 370 | 370 | /** |
| 371 | - * @return \Psr\Log\LoggerInterface|\PHPUnit\Framework\MockObject\MockObject |
|
| 371 | + * @return integer |
|
| 372 | 372 | */ |
| 373 | 373 | protected function getLoggerMock() |
| 374 | 374 | { |
@@ -60,9 +60,9 @@ |
||
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | 62 | * @param NodeDefinition $node |
| 63 | - * @param $name |
|
| 63 | + * @param string $name |
|
| 64 | 64 | * @param string $info block info line |
| 65 | - * @param ConfigurationFactory[]|ArrayObject $factories |
|
| 65 | + * @param ArrayObject $factories |
|
| 66 | 66 | */ |
| 67 | 67 | private function addHandlersSection(NodeDefinition $node, $name, $info, ArrayObject $factories) |
| 68 | 68 | { |
@@ -389,7 +389,7 @@ |
||
| 389 | 389 | * @see \eZ\Publish\API\Repository\ContentService::createContentDraft() |
| 390 | 390 | * @depends eZ\Publish\API\Repository\Tests\NonRedundantFieldSetTest::testCreateContentTwoLanguagesMainTranslationStoredFields |
| 391 | 391 | * |
| 392 | - * @return \eZ\Publish\API\Repository\Values\Content\Content[] |
|
| 392 | + * @return Content[] |
|
| 393 | 393 | */ |
| 394 | 394 | public function testCreateContentDraft() |
| 395 | 395 | { |
@@ -148,6 +148,9 @@ |
||
| 148 | 148 | return $document; |
| 149 | 149 | } |
| 150 | 150 | |
| 151 | + /** |
|
| 152 | + * @param string $outputFile |
|
| 153 | + */ |
|
| 151 | 154 | protected function formatValidationErrors($outputFile, array $errors) |
| 152 | 155 | { |
| 153 | 156 | $output = "\n"; |