From 73cba594aba51153f46ee2b2c1e484b548f94555 Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Mon, 18 Sep 2023 19:43:10 +0200 Subject: [PATCH] TASK: Adjust naming to `NeosWorkspaceName` see https://github.com/neos/neos-development-collection/pull/4529 --- Classes/Controller/BackendController.php | 2 +- Classes/Controller/BackendServiceController.php | 2 +- Classes/Fusion/Helper/WorkspaceHelper.php | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Classes/Controller/BackendController.php b/Classes/Controller/BackendController.php index fdfbe4b711..978ef86337 100644 --- a/Classes/Controller/BackendController.php +++ b/Classes/Controller/BackendController.php @@ -16,7 +16,7 @@ use Neos\Neos\FrontendRouting\NodeAddressFactory; use Neos\ContentRepository\Core\Projection\ContentGraph\VisibilityConstraints; use Neos\ContentRepositoryRegistry\ContentRepositoryRegistry; -use Neos\Neos\Domain\Model\WorkspaceName as NeosWorkspaceName; +use Neos\Neos\Domain\Model\NeosWorkspaceName; use Neos\Flow\Annotations as Flow; use Neos\Flow\Mvc\Controller\ActionController; use Neos\Flow\ResourceManagement\ResourceManager; diff --git a/Classes/Controller/BackendServiceController.php b/Classes/Controller/BackendServiceController.php index fa6be96d93..58c739cf60 100644 --- a/Classes/Controller/BackendServiceController.php +++ b/Classes/Controller/BackendServiceController.php @@ -29,7 +29,7 @@ use Neos\Flow\Persistence\PersistenceManagerInterface; use Neos\Flow\Property\PropertyMapper; use Neos\Flow\Security\Context; -use Neos\Neos\Domain\Model\WorkspaceName as NeosWorkspaceName; +use Neos\Neos\Domain\Model\NeosWorkspaceName; use Neos\Neos\FrontendRouting\NodeAddress; use Neos\Neos\FrontendRouting\NodeAddressFactory; use Neos\Neos\FrontendRouting\SiteDetection\SiteDetectionResult; diff --git a/Classes/Fusion/Helper/WorkspaceHelper.php b/Classes/Fusion/Helper/WorkspaceHelper.php index dece54de2b..b519be8fe0 100644 --- a/Classes/Fusion/Helper/WorkspaceHelper.php +++ b/Classes/Fusion/Helper/WorkspaceHelper.php @@ -14,8 +14,7 @@ use Neos\ContentRepositoryRegistry\ContentRepositoryRegistry; use Neos\ContentRepository\Core\Factory\ContentRepositoryId; use Neos\Eel\ProtectedContextAwareInterface; -use Neos\ContentRepository\Core\SharedModel\Workspace\WorkspaceName; -use Neos\Neos\Domain\Model\WorkspaceName as NeosWorkspaceName; +use Neos\Neos\Domain\Model\NeosWorkspaceName; use Neos\Flow\Security\Context; use Neos\Neos\Domain\Service\UserService as DomainUserService; use Neos\Flow\Annotations as Flow;