@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | $application->changeStatus( |
146 | 146 | $application->getStatus(), |
147 | 147 | sprintf(/*@translate*/ 'Application was read by %s', |
148 | - $this->auth()->getUser()->getInfo()->getDisplayName())); |
|
148 | + $this->auth()->getUser()->getInfo()->getDisplayName())); |
|
149 | 149 | } |
150 | 150 | |
151 | 151 | |
@@ -172,9 +172,9 @@ discard block |
||
172 | 172 | $viewModel->setVariables( |
173 | 173 | /*array( |
174 | 174 | 'application' => */$this->serviceLocator |
175 | - ->get('builders') |
|
176 | - ->get('JsonApplication') |
|
177 | - ->unbuild($application) |
|
175 | + ->get('builders') |
|
176 | + ->get('JsonApplication') |
|
177 | + ->unbuild($application) |
|
178 | 178 | ); |
179 | 179 | $viewModel->setVariable('isUnread', $applicationIsUnread); |
180 | 180 | $return = $viewModel; |
@@ -337,12 +337,12 @@ discard block |
||
337 | 337 | |
338 | 338 | /* @var ApplicationEvent $event */ |
339 | 339 | $event = $events->getEvent(ApplicationEvent::EVENT_APPLICATION_STATUS_CHANGE, |
340 | - $this, |
|
341 | - [ |
|
342 | - 'application' => $application, |
|
343 | - 'status' => $status, |
|
344 | - 'user' => $this->auth()->getUser(), |
|
345 | - ] |
|
340 | + $this, |
|
341 | + [ |
|
342 | + 'application' => $application, |
|
343 | + 'status' => $status, |
|
344 | + 'user' => $this->auth()->getUser(), |
|
345 | + ] |
|
346 | 346 | ); |
347 | 347 | |
348 | 348 | $event->setIsPostRequest($request->isPost()); |
@@ -393,7 +393,7 @@ discard block |
||
393 | 393 | $emailAddress = $this->params()->fromQuery('email'); |
394 | 394 | /* @var \Applications\Entity\Application $application */ |
395 | 395 | $application = $services->get('repositories')->get('Applications/Application') |
396 | - ->find($this->params('id')); |
|
396 | + ->find($this->params('id')); |
|
397 | 397 | |
398 | 398 | $this->acl($application, 'forward'); |
399 | 399 |
@@ -241,7 +241,6 @@ |
||
241 | 241 | * Gets all comments for the application. |
242 | 242 | * |
243 | 243 | * @return ArrayCollection; |
244 | - |
|
245 | 244 | */ |
246 | 245 | public function getComments(); |
247 | 246 |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | 'Auth/Users' => 'switch', |
209 | 209 | ), |
210 | 210 | 'deny' => array( |
211 | - // 'route/lang/auth', |
|
211 | + // 'route/lang/auth', |
|
212 | 212 | 'route/auth-provider', |
213 | 213 | 'route/auth-extern', |
214 | 214 | 'route/lang/forgot-password', |
@@ -290,7 +290,7 @@ discard block |
||
290 | 290 | 'factories' => array( |
291 | 291 | 'auth' => '\Auth\Factory\View\Helper\AuthFactory', |
292 | 292 | 'acl' => '\Acl\Factory\View\Helper\AclFactory', |
293 | - ), |
|
293 | + ), |
|
294 | 294 | ), |
295 | 295 | |
296 | 296 | 'form_elements' => array( |
@@ -98,9 +98,9 @@ |
||
98 | 98 | ); |
99 | 99 | |
100 | 100 | $this->setCount(0) |
101 | - ->setAllowRemove(true) |
|
102 | - ->setAllowAdd(true) |
|
103 | - ->setShouldCreateTemplate(true); |
|
101 | + ->setAllowRemove(true) |
|
102 | + ->setAllowAdd(true) |
|
103 | + ->setShouldCreateTemplate(true); |
|
104 | 104 | } |
105 | 105 | |
106 | 106 | /** |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * |
59 | 59 | * @param EventManagerInterface $events |
60 | 60 | * @param integer $priority |
61 | - */ |
|
61 | + */ |
|
62 | 62 | public function attach(EventManagerInterface $events) |
63 | 63 | { |
64 | 64 | $this->listeners[] = $events->attach(MvcEvent::EVENT_ROUTE, array($this, 'onRoute'), -10); |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | |
116 | 116 | |
117 | 117 | if ($resourceId && !$acl->isAllowed($role, $resourceId, $privilege)) { |
118 | - /* |
|
118 | + /* |
|
119 | 119 | * Exceptions are only catched within the dispatch listener, so |
120 | 120 | * we have to set the exception manually in the event |
121 | 121 | * and trigger the DISPATCH_ERROR event. |
@@ -39,11 +39,11 @@ |
||
39 | 39 | protected $appendImage = array(); |
40 | 40 | |
41 | 41 | |
42 | - /** |
|
43 | - * Loads module specific configuration. |
|
44 | - * |
|
45 | - * @return array |
|
46 | - */ |
|
42 | + /** |
|
43 | + * Loads module specific configuration. |
|
44 | + * |
|
45 | + * @return array |
|
46 | + */ |
|
47 | 47 | public function getConfig() |
48 | 48 | { |
49 | 49 | return ModuleConfigLoader::load(__DIR__ . '/config'); |