@@ -42,7 +42,7 @@ |
||
42 | 42 | /** |
43 | 43 | * Purge all variations generated for aliases in $aliasName. |
44 | 44 | * |
45 | - * @param array $aliasNames |
|
45 | + * @param string[] $aliasNames |
|
46 | 46 | */ |
47 | 47 | public function purge(array $aliasNames) |
48 | 48 | { |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | /** |
122 | 122 | * @dataProvider badRequestExceptionProvider |
123 | 123 | * |
124 | - * @param Exception|\eZ\Publish\Core\Base\Translatable $exception |
|
124 | + * @param Exception $exception |
|
125 | 125 | */ |
126 | 126 | public function testBadRequestException(Exception $exception) |
127 | 127 | { |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | /** |
159 | 159 | * @dataProvider otherExceptionProvider |
160 | 160 | * |
161 | - * @param Exception|\eZ\Publish\Core\Base\Translatable $exception |
|
161 | + * @param Exception $exception |
|
162 | 162 | */ |
163 | 163 | public function testOtherRepositoryException(Exception $exception) |
164 | 164 | { |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | * @param ContainerBuilder $container |
73 | 73 | * @param Definition $factory The factory service that should receive the list of handlers |
74 | 74 | * @param array $configuredHandlers Handlers configuration declared via semantic config |
75 | - * @param \eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory[]|ArrayObject $factories Map of alias => handler service id |
|
75 | + * @param ArrayObject $factories Map of alias => handler service id |
|
76 | 76 | * @param string $defaultHandler default handler id |
77 | 77 | * |
78 | 78 | * @internal param $HandlerTypesMap |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | * Returns from $factories the factory for handler $type. |
106 | 106 | * |
107 | 107 | * @param ContainerBuilder $container |
108 | - * @param \eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory[]|ArrayObject|ContainerAware[] $factories |
|
108 | + * @param ArrayObject $factories |
|
109 | 109 | * @param string $type |
110 | 110 | * |
111 | 111 | * @return \eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory |
@@ -72,6 +72,7 @@ discard block |
||
72 | 72 | |
73 | 73 | /** |
74 | 74 | * Registers the handler in the container, like the pass would have done. |
75 | + * @param string $name |
|
75 | 76 | */ |
76 | 77 | private function registerHandler($name) |
77 | 78 | { |
@@ -107,7 +108,6 @@ discard block |
||
107 | 108 | * |
108 | 109 | * The method can also configure the container via $this->container. |
109 | 110 | * |
110 | - * @param ContainerBuilder $container |
|
111 | 111 | */ |
112 | 112 | abstract public function provideHandlerConfiguration(); |
113 | 113 |
@@ -183,6 +183,9 @@ |
||
183 | 183 | return $this->createTestContent('eng-US', $fieldValues); |
184 | 184 | } |
185 | 185 | |
186 | + /** |
|
187 | + * @param string $initialLanguageCode |
|
188 | + */ |
|
186 | 189 | protected function updateTestContent($initialLanguageCode, array $fieldValues) |
187 | 190 | { |
188 | 191 | $repository = $this->getRepository(); |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | /** |
99 | 99 | * Get initial field data for valid object creation. |
100 | 100 | * |
101 | - * @return mixed |
|
101 | + * @return CheckboxValue |
|
102 | 102 | */ |
103 | 103 | public function getValidCreationFieldData() |
104 | 104 | { |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | /** |
164 | 164 | * Get update field externals data. |
165 | 165 | * |
166 | - * @return array |
|
166 | + * @return CheckboxValue |
|
167 | 167 | */ |
168 | 168 | public function getValidUpdateFieldData() |
169 | 169 | { |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | /** |
152 | 152 | * Get initial field data for valid object creation. |
153 | 153 | * |
154 | - * @return mixed |
|
154 | + * @return ImageValue |
|
155 | 155 | */ |
156 | 156 | public function getValidCreationFieldData() |
157 | 157 | { |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | /** |
234 | 234 | * Get update field externals data. |
235 | 235 | * |
236 | - * @return array |
|
236 | + * @return ImageValue |
|
237 | 237 | */ |
238 | 238 | public function getValidUpdateFieldData() |
239 | 239 | { |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | /** |
99 | 99 | * Get initial field data for valid object creation. |
100 | 100 | * |
101 | - * @return mixed |
|
101 | + * @return MapLocationValue |
|
102 | 102 | */ |
103 | 103 | public function getValidCreationFieldData() |
104 | 104 | { |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | /** |
193 | 193 | * Get update field externals data. |
194 | 194 | * |
195 | - * @return array |
|
195 | + * @return MapLocationValue |
|
196 | 196 | */ |
197 | 197 | public function getValidUpdateFieldData() |
198 | 198 | { |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | /** |
37 | 37 | * @param \eZ\Publish\API\Repository\Values\Content\Content $content |
38 | 38 | * |
39 | - * @return array|\eZ\Publish\API\Repository\Values\Content\Relation[] |
|
39 | + * @return Relation[] |
|
40 | 40 | */ |
41 | 41 | public function getCreateExpectedRelations(Content $content) |
42 | 42 | { |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | /** |
58 | 58 | * @param \eZ\Publish\API\Repository\Values\Content\Content $content |
59 | 59 | * |
60 | - * @return array|\eZ\Publish\API\Repository\Values\Content\Relation[] |
|
60 | + * @return Relation[] |
|
61 | 61 | */ |
62 | 62 | public function getUpdateExpectedRelations(Content $content) |
63 | 63 | { |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | /** |
152 | 152 | * Get initial field data for valid object creation. |
153 | 153 | * |
154 | - * @return mixed |
|
154 | + * @return RelationValue |
|
155 | 155 | */ |
156 | 156 | public function getValidCreationFieldData() |
157 | 157 | { |
@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | /** |
217 | 217 | * Get update field externals data. |
218 | 218 | * |
219 | - * @return array |
|
219 | + * @return RelationValue |
|
220 | 220 | */ |
221 | 221 | public function getValidUpdateFieldData() |
222 | 222 | { |