@@ -106,7 +106,7 @@ |
||
| 106 | 106 | $application = $repository->find($appId); |
| 107 | 107 | $application->comments->add($comment); |
| 108 | 108 | $application->changeStatus($application->getStatus(), sprintf( |
| 109 | - /* @translate */ 'Application was rated by %s' , |
|
| 109 | + /* @translate */ 'Application was rated by %s', |
|
| 110 | 110 | $this->auth()->getUser()->getInfo()->getDisplayName()) |
| 111 | 111 | ); |
| 112 | 112 | } |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | } |
| 85 | 85 | $statusElement->setValueOptions($statesForSelections); |
| 86 | 86 | |
| 87 | - $job = $params->job ? $jobRepository->find($params->job) : null; |
|
| 87 | + $job = $params->job ? $jobRepository->find($params->job) : null; |
|
| 88 | 88 | $paginator = $this->paginator('Applications/Application', $params); |
| 89 | 89 | |
| 90 | 90 | if ($job) { |
@@ -145,13 +145,13 @@ discard block |
||
| 145 | 145 | $applicationIsUnread = true; |
| 146 | 146 | $application->changeStatus( |
| 147 | 147 | $application->getStatus(), |
| 148 | - sprintf(/*@translate*/ 'Application was read by %s' , |
|
| 148 | + sprintf(/*@translate*/ 'Application was read by %s', |
|
| 149 | 149 | $this->auth()->getUser()->getInfo()->getDisplayName())); |
| 150 | 150 | } |
| 151 | 151 | |
| 152 | 152 | |
| 153 | 153 | |
| 154 | - $format=$this->params()->fromQuery('format'); |
|
| 154 | + $format = $this->params()->fromQuery('format'); |
|
| 155 | 155 | |
| 156 | 156 | if ($application->isDraft()) { |
| 157 | 157 | $list = false; |
@@ -332,11 +332,11 @@ discard block |
||
| 332 | 332 | default: |
| 333 | 333 | throw new \InvalidArgumentException('Unknown status value.'); |
| 334 | 334 | } |
| 335 | - $mailText = $settings->$key ? $settings->$key : ''; |
|
| 335 | + $mailText = $settings->$key ? $settings->$key : ''; |
|
| 336 | 336 | $this->notification()->success($mailText); |
| 337 | 337 | $mail->setBody($mailText); |
| 338 | 338 | $mailText = $mail->getBodyText(); |
| 339 | - $mailSubject = sprintf( |
|
| 339 | + $mailSubject = sprintf( |
|
| 340 | 340 | $translator->translate('Your application dated %s'), |
| 341 | 341 | strftime('%x', $application->getDateCreated()->getTimestamp()) |
| 342 | 342 | ); |
@@ -374,7 +374,7 @@ discard block |
||
| 374 | 374 | |
| 375 | 375 | $this->acl($application, 'forward'); |
| 376 | 376 | |
| 377 | - $translator = $services->get('translator'); |
|
| 377 | + $translator = $services->get('translator'); |
|
| 378 | 378 | |
| 379 | 379 | if (!$emailAddress) { |
| 380 | 380 | throw new \InvalidArgumentException('An email address must be supplied.'); |
@@ -416,7 +416,7 @@ discard block |
||
| 416 | 416 | { |
| 417 | 417 | $id = $this->params('id'); |
| 418 | 418 | $services = $this->getServiceLocator(); |
| 419 | - $repositories= $services->get('repositories'); |
|
| 419 | + $repositories = $services->get('repositories'); |
|
| 420 | 420 | $repository = $repositories->get('Applications/Application'); |
| 421 | 421 | $application = $repository->find($id); |
| 422 | 422 | |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | */ |
| 47 | 47 | function getUri() |
| 48 | 48 | { |
| 49 | - return '/' . trim('file/Organizations.OrganizationImage/' . $this->id . "/" . urlencode($this->name),'/'); |
|
| 49 | + return '/' . trim('file/Organizations.OrganizationImage/' . $this->id . "/" . urlencode($this->name), '/'); |
|
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | /** |