@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | throw new \RuntimeException('Invalid application id.'); |
| 94 | 94 | } |
| 95 | 95 | |
| 96 | - $action = 'process'; |
|
| 96 | + $action = 'process'; |
|
| 97 | 97 | |
| 98 | 98 | $routeMatch->setParam('action', $action); |
| 99 | 99 | } else { |
@@ -184,7 +184,7 @@ discard block |
||
| 184 | 184 | { |
| 185 | 185 | $this->response->setStatusCode(410); |
| 186 | 186 | $model = new ViewModel( |
| 187 | - [ 'content' => /*@translate*/ 'Invalid apply id'] |
|
| 187 | + ['content' => /*@translate*/ 'Invalid apply id'] |
|
| 188 | 188 | ); |
| 189 | 189 | $model->setTemplate('applications/error/not-found'); |
| 190 | 190 | return $model; |
@@ -193,12 +193,12 @@ discard block |
||
| 193 | 193 | public function indexAction() |
| 194 | 194 | { |
| 195 | 195 | /* @var \Applications\Form\Apply $form */ |
| 196 | - $form = $this->container; |
|
| 196 | + $form = $this->container; |
|
| 197 | 197 | $serviceLocator = $this->getServiceLocator(); |
| 198 | 198 | $translator = $serviceLocator->get('Translator'); |
| 199 | 199 | /* @var \Auth\Form\SocialProfiles $profiles */ |
| 200 | 200 | |
| 201 | - $profiles=$form->get('profiles'); |
|
| 201 | + $profiles = $form->get('profiles'); |
|
| 202 | 202 | /* |
| 203 | 203 | * can we add the description to Applications\Form\Apply ? |
| 204 | 204 | */ |
@@ -294,7 +294,7 @@ discard block |
||
| 294 | 294 | } |
| 295 | 295 | |
| 296 | 296 | if ('sendmail' == $this->params()->fromQuery('do')) { |
| 297 | - $jobEntity = $application->job; |
|
| 297 | + $jobEntity = $application->job; |
|
| 298 | 298 | ; |
| 299 | 299 | $mailData = array( |
| 300 | 300 | 'application' => $application, |
@@ -322,8 +322,8 @@ discard block |
||
| 322 | 322 | ->revoke($this->auth()->getUser(), PermissionsInterface::PERMISSION_CHANGE) |
| 323 | 323 | ->inherit($application->getJob()->getPermissions()); |
| 324 | 324 | |
| 325 | - $events = $services->get('Applications/Events'); |
|
| 326 | - $events->trigger(ApplicationEvent::EVENT_APPLICATION_POST_CREATE, $this, [ 'application' => $application ]); |
|
| 325 | + $events = $services->get('Applications/Events'); |
|
| 326 | + $events->trigger(ApplicationEvent::EVENT_APPLICATION_POST_CREATE, $this, ['application' => $application]); |
|
| 327 | 327 | |
| 328 | 328 | $model = new ViewModel( |
| 329 | 329 | array( |