Completed
Push — develop ( 57a287...1c38cf )
by
unknown
16:06 queued 08:24
created
module/Applications/src/Applications/Controller/ManageController.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
@@ -330,13 +330,13 @@  discard block
 block discarded – undo
330 330
                 $key = 'mailRejectionText';
331 331
                 break;
332 332
             default:
333
-                throw new \InvalidArgumentException('Unknown status value: ' .$status);
333
+                throw new \InvalidArgumentException('Unknown status value: ' . $status);
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
 block discarded – undo
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
 block discarded – undo
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
         
Please login to merge, or discard this patch.