@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | $this->auth()->isAdmin() |
| 72 | 72 | ) { |
| 73 | 73 | $applicationViewModel->setTemplate('iframe/iFrameInjection'); |
| 74 | - }elseif(Status::EXPIRED == $job->getStatus() or Status::INACTIVE == $job->getStatus()) { |
|
| 74 | + }elseif (Status::EXPIRED == $job->getStatus() or Status::INACTIVE == $job->getStatus()) { |
|
| 75 | 75 | $this->response->setStatusCode(Response::STATUS_CODE_410); |
| 76 | 76 | $model->setTemplate('jobs/error/expired'); |
| 77 | 77 | $model->setVariables( |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | protected function editTemplateAction() |
| 100 | 100 | { |
| 101 | 101 | $id = $this->params('id'); |
| 102 | - $formIdentifier=$this->params()->fromQuery('form'); |
|
| 102 | + $formIdentifier = $this->params()->fromQuery('form'); |
|
| 103 | 103 | $job = $this->jobRepository->find($id); |
| 104 | 104 | |
| 105 | 105 | /** @var \Zend\Http\Request $request */ |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | |
| 130 | 130 | $instanceForm = $formTemplate->get($formIdentifier); |
| 131 | 131 | if (!isset($instanceForm)) { |
| 132 | - throw new \RuntimeException('No form found for "' . $formIdentifier . '"'); |
|
| 132 | + throw new \RuntimeException('No form found for "'.$formIdentifier.'"'); |
|
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | // the id is part of the postData, but it never should be altered |