@@ -5003,7 +5003,7 @@ |
||
5003 | 5003 | protected $languageMaskGenerator; |
5004 | 5004 | |
5005 | 5005 | /** |
5006 | - * @param array $methods |
|
5006 | + * @param string[] $methods |
|
5007 | 5007 | * |
5008 | 5008 | * @return \eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Handler|\PHPUnit_Framework_MockObject_MockObject |
5009 | 5009 | */ |
@@ -1052,7 +1052,7 @@ discard block |
||
1052 | 1052 | * @param string $mainLanguageCode |
1053 | 1053 | * @param \eZ\Publish\API\Repository\Values\Content\Field[] $structFields |
1054 | 1054 | * @param \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[] $fieldDefinitions |
1055 | - * @param array $languageCodes |
|
1055 | + * @param string[] $languageCodes |
|
1056 | 1056 | * |
1057 | 1057 | * @return array |
1058 | 1058 | */ |
@@ -1126,10 +1126,9 @@ discard block |
||
1126 | 1126 | * @param \eZ\Publish\SPI\Persistence\Content\Field[] $spiFields |
1127 | 1127 | * @param \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[] $fieldDefinitions |
1128 | 1128 | * @param \eZ\Publish\API\Repository\Values\Content\LocationCreateStruct[] $locationCreateStructs |
1129 | - * @param \eZ\Publish\SPI\Persistence\Content\ObjectState\Group[] $objectStateGroups |
|
1130 | 1129 | * @param bool $execute |
1131 | 1130 | * |
1132 | - * @return mixed |
|
1131 | + * @return ContentCreateStruct |
|
1133 | 1132 | */ |
1134 | 1133 | protected function assertForTestCreateContentNonRedundantFieldSet( |
1135 | 1134 | $mainLanguageCode, |
@@ -2006,7 +2005,7 @@ discard block |
||
2006 | 2005 | * @param \eZ\Publish\API\Repository\Values\Content\Field[] $structFields |
2007 | 2006 | * @param \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[] $fieldDefinitions |
2008 | 2007 | * |
2009 | - * @return mixed |
|
2008 | + * @return ContentCreateStruct |
|
2010 | 2009 | */ |
2011 | 2010 | protected function assertForTestCreateContentRequiredField( |
2012 | 2011 | $mainLanguageCode, |
@@ -4793,6 +4792,10 @@ discard block |
||
4793 | 4792 | ); |
4794 | 4793 | } |
4795 | 4794 | |
4795 | + /** |
|
4796 | + * @param Field[] $existingFields |
|
4797 | + * @param FieldDefinition[] $fieldDefinitions |
|
4798 | + */ |
|
4796 | 4799 | public function assertForTestUpdateContentRequiredField( |
4797 | 4800 | $initialLanguageCode, |
4798 | 4801 | $structFields, |
@@ -4991,6 +4994,10 @@ discard block |
||
4991 | 4994 | } |
4992 | 4995 | } |
4993 | 4996 | |
4997 | + /** |
|
4998 | + * @param Field[] $existingFields |
|
4999 | + * @param FieldDefinition[] $fieldDefinitions |
|
5000 | + */ |
|
4994 | 5001 | public function assertForTestUpdateContentThrowsContentFieldValidationException( |
4995 | 5002 | $initialLanguageCode, |
4996 | 5003 | $structFields, |
@@ -30,7 +30,7 @@ |
||
30 | 30 | /** |
31 | 31 | * Triggers the cache purge $locationIds. |
32 | 32 | * |
33 | - * @param mixed $locationIds Cache resource(s) to purge (e.g. array of URI to purge in a reverse proxy) |
|
33 | + * @param integer[] $locationIds Cache resource(s) to purge (e.g. array of URI to purge in a reverse proxy) |
|
34 | 34 | */ |
35 | 35 | public function purge($locationIds) |
36 | 36 | { |
@@ -117,6 +117,7 @@ discard block |
||
117 | 117 | * @depends testCreateRole |
118 | 118 | * Covers POST /user/roles/{roleId} |
119 | 119 | * |
120 | + * @param string $roleHref |
|
120 | 121 | * @return string The created role draft href |
121 | 122 | */ |
122 | 123 | public function testCreateRoleDraft($roleHref) |
@@ -410,7 +411,6 @@ discard block |
||
410 | 411 | /** |
411 | 412 | * @covers \POST /user/users/{userId}/roles |
412 | 413 | * |
413 | - * @param string $roleHref |
|
414 | 414 | * @param array $limitation |
415 | 415 | * |
416 | 416 | * @return string assigned role href |
@@ -26,7 +26,7 @@ |
||
26 | 26 | * |
27 | 27 | * Note: Class should instead be configured as service if it gains dependencies. |
28 | 28 | * |
29 | - * @return float |
|
29 | + * @return FloatConverter |
|
30 | 30 | */ |
31 | 31 | public static function create() |
32 | 32 | { |
@@ -26,7 +26,7 @@ |
||
26 | 26 | * |
27 | 27 | * Note: Class should instead be configured as service if it gains dependencies. |
28 | 28 | * |
29 | - * @return int |
|
29 | + * @return IntegerConverter |
|
30 | 30 | */ |
31 | 31 | public static function create() |
32 | 32 | { |
@@ -161,7 +161,7 @@ |
||
161 | 161 | } |
162 | 162 | |
163 | 163 | /** |
164 | - * @param int $languageMask |
|
164 | + * @param int $langMask |
|
165 | 165 | * @param bool $expectedResult |
166 | 166 | * |
167 | 167 | * @covers \eZ\Publish\Core\Persistence\Legacy\Content\Language\MaskGenerator::isAlwaysAvailable |
@@ -416,6 +416,7 @@ |
||
416 | 416 | /** |
417 | 417 | * @depends testAddContentTypeDraftFieldDefinition |
418 | 418 | * Covers GET /content/types/<contentTypeId>/fieldDefinitions/<fieldDefinitionId> |
419 | + * @param \Buzz\Message\Response $fieldDefinitionHref |
|
419 | 420 | */ |
420 | 421 | public function testLoadContentTypeFieldDefinition($fieldDefinitionHref) |
421 | 422 | { |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | * NOT take care for test case wide caching of the field type, just return |
29 | 29 | * a new instance from this method! |
30 | 30 | * |
31 | - * @return FieldType |
|
31 | + * @return DateAndTime |
|
32 | 32 | */ |
33 | 33 | protected function createFieldTypeUnderTest() |
34 | 34 | { |
@@ -216,7 +216,6 @@ discard block |
||
216 | 216 | } |
217 | 217 | |
218 | 218 | /** |
219 | - * @param mixed $inputValue |
|
220 | 219 | * @param array $expectedResult |
221 | 220 | * |
222 | 221 | * @dataProvider provideInputForFromHash |
@@ -278,7 +277,6 @@ discard block |
||
278 | 277 | } |
279 | 278 | |
280 | 279 | /** |
281 | - * @param mixed $inputValue |
|
282 | 280 | * @param string $intervalSpec |
283 | 281 | * |
284 | 282 | * @dataProvider provideInputForTimeStringFromHash |