@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | * Instantiates a new location create class. |
81 | 81 | * |
82 | 82 | * @param mixed $parentLocationId the parent under which the new location should be created |
83 | - * @param eZ\Publish\API\Repository\Values\ContentType\ContentType|null $contentType |
|
83 | + * @param null|ContentType $contentType |
|
84 | 84 | * |
85 | 85 | * @return \eZ\Publish\API\Repository\Values\Content\LocationCreateStruct |
86 | 86 | */ |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | * @param \eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo |
219 | 219 | * @param \eZ\Publish\API\Repository\Values\Content\Location $rootLocation |
220 | 220 | * |
221 | - * @return \eZ\Publish\API\Repository\Values\Content\Location[] |
|
221 | + * @return \eZ\Publish\API\Repository\Values\ValueObject |
|
222 | 222 | */ |
223 | 223 | public function loadLocations(ContentInfo $contentInfo, Location $rootLocation = null) |
224 | 224 | { |
@@ -723,7 +723,7 @@ |
||
723 | 723 | * Instantiates a new location create class. |
724 | 724 | * |
725 | 725 | * @param mixed $parentLocationId the parent under which the new location should be created |
726 | - * @param eZ\Publish\API\Repository\Values\ContentType\ContentType|null $contentType |
|
726 | + * @param null|ContentType $contentType |
|
727 | 727 | * |
728 | 728 | * @return \eZ\Publish\API\Repository\Values\Content\LocationCreateStruct |
729 | 729 | */ |
@@ -11,7 +11,6 @@ |
||
11 | 11 | use Doctrine\DBAL\Connection; |
12 | 12 | use eZ\Publish\API\Repository\Exceptions\ContentFieldValidationException; |
13 | 13 | use eZ\Publish\API\Repository\Tests\PHPUnitConstraint\ValidationErrorOccurs as PHPUnitConstraintValidationErrorOccurs; |
14 | -use eZ\Publish\API\Repository\Values\Content\Location; |
|
15 | 14 | use EzSystems\EzPlatformSolrSearchEngine\Tests\SetupFactory\LegacySetupFactory as LegacySolrSetupFactory; |
16 | 15 | use PHPUnit\Framework\TestCase; |
17 | 16 | use eZ\Publish\API\Repository\Repository; |