@@ -150,6 +150,9 @@ |
||
150 | 150 | return $content; |
151 | 151 | } |
152 | 152 | |
153 | + /** |
|
154 | + * @param string $tpl |
|
155 | + */ |
|
153 | 156 | private function getTemplatePath($tpl) |
154 | 157 | { |
155 | 158 | return 'templates/' . $tpl; |
@@ -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 | { |
@@ -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 | { |
@@ -27,7 +27,7 @@ |
||
27 | 27 | /** |
28 | 28 | * @param array $mockMethods For specifying the methods to mock, all by default |
29 | 29 | * |
30 | - * @return \eZ\Publish\SPI\Persistence\Handler|\PHPUnit\Framework\MockObject\MockObject |
|
30 | + * @return SPIHandler |
|
31 | 31 | */ |
32 | 32 | public function getPersistenceMock(array $mockMethods = array()) |
33 | 33 | { |
@@ -1396,7 +1396,7 @@ discard block |
||
1396 | 1396 | } |
1397 | 1397 | |
1398 | 1398 | /** |
1399 | - * @param array $methods |
|
1399 | + * @param string[] $methods |
|
1400 | 1400 | * |
1401 | 1401 | * @return \eZ\Publish\Core\MVC\Symfony\FieldType\RichText\Renderer|\PHPUnit\Framework\MockObject\MockObject |
1402 | 1402 | */ |
@@ -1483,6 +1483,9 @@ discard block |
||
1483 | 1483 | return $this->createMock(LoggerInterface::class); |
1484 | 1484 | } |
1485 | 1485 | |
1486 | + /** |
|
1487 | + * @param integer $mainLocationId |
|
1488 | + */ |
|
1486 | 1489 | protected function getContentMock($mainLocationId) |
1487 | 1490 | { |
1488 | 1491 | $contentInfoMock = $this->createMock(ContentInfo::class); |