From 893467acca62ca66dadec223a7d320047ceda4db Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Thu, 19 Sep 2019 21:52:46 +0200 Subject: [PATCH] Renamed variables --- .../symfony/src/Domain/Form/RequestedActionFormBuilder.php | 4 ++-- .../Action/Create/CreateSourceActionIntegrationTest.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/application/symfony/src/Domain/Form/RequestedActionFormBuilder.php b/application/symfony/src/Domain/Form/RequestedActionFormBuilder.php index 622d4a1..c5844f1 100644 --- a/application/symfony/src/Domain/Form/RequestedActionFormBuilder.php +++ b/application/symfony/src/Domain/Form/RequestedActionFormBuilder.php @@ -57,8 +57,8 @@ class RequestedActionFormBuilder implements RequestedActionFormBuilderInterface $origineClass = $requestedEntity->getClass(); $class = $this->formClassNameService->getClass($origineClass, $actionType); $entity = ($requestedEntity->hasIdentity()) ? $requestedEntity->getEntity() : null; - $form = $this->formFactory->createBuilder($class, $entity); + $formBuilder = $this->formFactory->createBuilder($class, $entity); - return $form; + return $formBuilder; } } diff --git a/application/symfony/tests/Integration/Domain/Action/Create/CreateSourceActionIntegrationTest.php b/application/symfony/tests/Integration/Domain/Action/Create/CreateSourceActionIntegrationTest.php index ca0d231..3f72fc1 100644 --- a/application/symfony/tests/Integration/Domain/Action/Create/CreateSourceActionIntegrationTest.php +++ b/application/symfony/tests/Integration/Domain/Action/Create/CreateSourceActionIntegrationTest.php @@ -78,14 +78,14 @@ class CreateSourceActionIntegrationTest extends KernelTestCase $this->requestedActionService = new RequestedActionService($requestedUserService); $this->requestedActionService->setActionType(ActionType::CREATE); $formClassNameService = new FormClassNameService(); - $entityFormBuilderService = new RequestedActionFormBuilderService($this->formFactory, $formClassNameService, $this->requestedActionService); + $requestedActionFormBuilderService = new RequestedActionFormBuilderService($this->formFactory, $formClassNameService, $this->requestedActionService); $this->request = new Request(); $this->requestStack = new RequestStack(); $this->requestStack->push($this->request); $layerRepositoryFactoryService = new LayerRepositoryFactoryService($entityManager); $rightTransformerService = new RightTransformerService(); $secureRequestedRightChecker = new SecureRequestedRightCheckerService($rightTransformerService); - $this->actionService = new ActionDependenciesDAOService($this->requestedActionService, $secureRequestedRightChecker, $this->requestStack, $layerRepositoryFactoryService, $entityFormBuilderService, $entityManager); + $this->actionService = new ActionDependenciesDAOService($this->requestedActionService, $secureRequestedRightChecker, $this->requestStack, $layerRepositoryFactoryService, $requestedActionFormBuilderService, $entityManager); $this->createSourceAction = new CreateSourceAction($this->actionService); }