@@ -148,7 +148,7 @@ |
||
148 | 148 | } |
149 | 149 | |
150 | 150 | /** |
151 | - * @return \Symfony\Cmf\Component\Routing\ChainRouter|\PHPUnit\Framework\MockObject\MockObject |
|
151 | + * @return \Symfony\Component\Routing\RouterInterface |
|
152 | 152 | */ |
153 | 153 | private function getRouterMock() |
154 | 154 | { |
@@ -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 | { |
@@ -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); |
@@ -169,7 +169,6 @@ |
||
169 | 169 | } |
170 | 170 | |
171 | 171 | /** |
172 | - * @param array $properties |
|
173 | 172 | * |
174 | 173 | * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\MVC\Symfony\View\ContentView |
175 | 174 | */ |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | } |
56 | 56 | |
57 | 57 | /** |
58 | - * @return string $locale |
|
58 | + * @return string[] $locale |
|
59 | 59 | */ |
60 | 60 | public function getLocale() |
61 | 61 | { |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | } |
64 | 64 | |
65 | 65 | /** |
66 | - * @return array |
|
66 | + * @return FileSizeExtension[] |
|
67 | 67 | */ |
68 | 68 | protected function getExtensions() |
69 | 69 | { |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | } |
82 | 82 | |
83 | 83 | /** |
84 | - * @return ConfigResolverInterface|\PHPUnit\Framework\MockObject\MockObject |
|
84 | + * @return ConfigResolverInterface |
|
85 | 85 | */ |
86 | 86 | protected function getConfigResolverInterfaceMock() |
87 | 87 | { |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | } |
96 | 96 | |
97 | 97 | /** |
98 | - * @return LocaleConverterInterface|\PHPUnit\Framework\MockObject\MockObject |
|
98 | + * @return LocaleConverterInterface |
|
99 | 99 | */ |
100 | 100 | protected function getLocaleConverterInterfaceMock() |
101 | 101 | { |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | } |
116 | 116 | |
117 | 117 | /** |
118 | - * @return TranslatorInterface|\PHPUnit\Framework\MockObject\MockObject |
|
118 | + * @return TranslatorInterface |
|
119 | 119 | */ |
120 | 120 | protected function getTranslatorInterfaceMock() |
121 | 121 | { |