@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | * NOT take care for test case wide caching of the field type, just return |
| 30 | 30 | * a new instance from this method! |
| 31 | 31 | * |
| 32 | - * @return FieldType |
|
| 32 | + * @return Time |
|
| 33 | 33 | */ |
| 34 | 34 | protected function createFieldTypeUnderTest() |
| 35 | 35 | { |
@@ -417,7 +417,6 @@ discard block |
||
| 417 | 417 | } |
| 418 | 418 | |
| 419 | 419 | /** |
| 420 | - * @param mixed $inputValue |
|
| 421 | 420 | * @param array $expectedResult |
| 422 | 421 | * |
| 423 | 422 | * This overrides the FieldTypeTest method until it gets updated and all field types fixed in EZP-25424 |
@@ -269,7 +269,7 @@ discard block |
||
| 269 | 269 | * Publishes a role draft. |
| 270 | 270 | * |
| 271 | 271 | * @param mixed $roleId Original role ID, or ID of the role draft itself |
| 272 | - * @return Values\RestRole |
|
| 272 | + * @return Values\CreatedRole |
|
| 273 | 273 | */ |
| 274 | 274 | public function publishRoleDraft($roleId) |
| 275 | 275 | { |
@@ -448,7 +448,7 @@ discard block |
||
| 448 | 448 | * This is needed because the RoleService addPolicy() and addPolicyByRoleDraft() methods return the role, |
| 449 | 449 | * not the policy. |
| 450 | 450 | * |
| 451 | - * @param $role \eZ\Publish\API\Repository\Values\User\Role |
|
| 451 | + * @param \eZ\Publish\API\Repository\Values\User\Role $role \eZ\Publish\API\Repository\Values\User\Role |
|
| 452 | 452 | * |
| 453 | 453 | * @return \eZ\Publish\API\Repository\Values\User\Policy |
| 454 | 454 | */ |
@@ -65,6 +65,9 @@ discard block |
||
| 65 | 65 | ); |
| 66 | 66 | } |
| 67 | 67 | |
| 68 | + /** |
|
| 69 | + * @param string $default |
|
| 70 | + */ |
|
| 68 | 71 | private function buildList($groups, $default) |
| 69 | 72 | { |
| 70 | 73 | return new SettingsFieldsGroupsList( |
@@ -75,7 +78,7 @@ discard block |
||
| 75 | 78 | } |
| 76 | 79 | |
| 77 | 80 | /** |
| 78 | - * @return \Symfony\Component\Translation\TranslatorInterface|\PHPUnit_Framework_MockObject_MockObject |
|
| 81 | + * @return \Symfony\Component\Translation\TranslatorInterface |
|
| 79 | 82 | */ |
| 80 | 83 | private function getTranslatorMock() |
| 81 | 84 | { |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | - * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Bundle\EzPublishCoreBundle\ApiLoader\RepositoryConfigurationProvider |
|
| 36 | + * @return \eZ\Bundle\EzPublishCoreBundle\ApiLoader\RepositoryConfigurationProvider |
|
| 37 | 37 | */ |
| 38 | 38 | protected function getRepositoryConfigMock() |
| 39 | 39 | { |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | - * @return \PHPUnit_Framework_MockObject_MockObject|\Symfony\Component\Translation\TranslatorInterface |
|
| 51 | + * @return \Symfony\Component\Translation\TranslatorInterface |
|
| 52 | 52 | */ |
| 53 | 53 | protected function getTranslatorMock() |
| 54 | 54 | { |