@@ -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 | { |
@@ -98,7 +98,7 @@ |
||
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | /** |
| 101 | - * @return \eZ\Publish\Core\Repository\Repository|\PHPUnit\Framework\MockObject\MockObject |
|
| 101 | + * @return \eZ\Publish\API\Repository\Repository |
|
| 102 | 102 | */ |
| 103 | 103 | private function getRepositoryMock() |
| 104 | 104 | { |
@@ -66,6 +66,9 @@ discard block |
||
| 66 | 66 | ); |
| 67 | 67 | } |
| 68 | 68 | |
| 69 | + /** |
|
| 70 | + * @param string $default |
|
| 71 | + */ |
|
| 69 | 72 | private function buildList($groups, $default) |
| 70 | 73 | { |
| 71 | 74 | return new ArrayTranslatorFieldsGroupsList( |
@@ -76,7 +79,7 @@ discard block |
||
| 76 | 79 | } |
| 77 | 80 | |
| 78 | 81 | /** |
| 79 | - * @return \Symfony\Component\Translation\TranslatorInterface|\PHPUnit\Framework\MockObject\MockObject |
|
| 82 | + * @return TranslatorInterface |
|
| 80 | 83 | */ |
| 81 | 84 | private function getTranslatorMock() |
| 82 | 85 | { |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | - * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Bundle\EzPublishCoreBundle\ApiLoader\RepositoryConfigurationProvider |
|
| 38 | + * @return RepositoryConfigurationProvider |
|
| 39 | 39 | */ |
| 40 | 40 | protected function getRepositoryConfigMock() |
| 41 | 41 | { |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | /** |
| 50 | - * @return \PHPUnit\Framework\MockObject\MockObject|\Symfony\Component\Translation\TranslatorInterface |
|
| 50 | + * @return TranslatorInterface |
|
| 51 | 51 | */ |
| 52 | 52 | protected function getTranslatorMock() |
| 53 | 53 | { |
@@ -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"; |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | /** |
| 54 | - * @param array $mockedMethods |
|
| 54 | + * @param string[] $mockedMethods |
|
| 55 | 55 | * |
| 56 | 56 | * @return \PHPUnit\Framework\MockObject\MockObject|DefaultRouter |
| 57 | 57 | */ |
@@ -318,6 +318,9 @@ discard block |
||
| 318 | 318 | ]; |
| 319 | 319 | } |
| 320 | 320 | |
| 321 | + /** |
|
| 322 | + * @param string $uri |
|
| 323 | + */ |
|
| 321 | 324 | private function getExpectedRequestContext($uri) |
| 322 | 325 | { |
| 323 | 326 | $requestContext = new RequestContext(); |