diff --git a/application/src/Controller/workflow/AbstractWorkflow.php b/application/src/Controller/workflow/AbstractWorkflow.php index da6185d..4da45fb 100644 --- a/application/src/Controller/workflow/AbstractWorkflow.php +++ b/application/src/Controller/workflow/AbstractWorkflow.php @@ -1,7 +1,6 @@ response = new Response(); + } abstract protected function handlePost():void; @@ -29,7 +32,6 @@ abstract class AbstractWorkflow implements WorkflowInterface public function work(): void { - $this->response = new Response(); $this->setType(); $this->handlePost(); $this->handleGet(); diff --git a/application/src/Controller/workflow/LoginWorkflow.php b/application/src/Controller/workflow/LoginWorkflow.php index e4f7ecf..563ebcf 100644 --- a/application/src/Controller/workflow/LoginWorkflow.php +++ b/application/src/Controller/workflow/LoginWorkflow.php @@ -1,5 +1,5 @@