Completed
Push — develop ( 312a9e...d5555a )
by
unknown
08:15
created
module/Applications/src/Applications/Controller/IndexController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 
78 78
         $job = ($request->isPost() && !empty($jobId))
79 79
              ? $services->get('repositories')->get('Jobs/Job')->find($jobId)
80
-             : $services->get('repositories')->get('Jobs/Job')->findOneBy(array("applyId"=>(0 == $applyId)?$this->params('jobId'):$applyId));
80
+             : $services->get('repositories')->get('Jobs/Job')->findOneBy(array("applyId"=>(0 == $applyId) ? $this->params('jobId') : $applyId));
81 81
         
82 82
         
83 83
         if (!$job) {
@@ -283,10 +283,10 @@  discard block
 block discarded – undo
283 283
 
284 284
          //default sorting
285 285
         if (!isset($params['sort'])) {
286
-            $params['sort']="-date";
286
+            $params['sort'] = "-date";
287 287
         }
288 288
         $params->count = 5;
289
-        $params->pageRange=5;
289
+        $params->pageRange = 5;
290 290
 
291 291
         $this->paginationParams()->setParams('Applications\Index', $params);
292 292
 
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
             $jobEntity         = $entityApplication->job;
318 318
             $applicantEmail    = $entityApplication->contact->email;
319 319
             $organizationEmail = $jobEntity->contactEmail;
320
-            $mailAddress        = null;
320
+            $mailAddress = null;
321 321
             switch ($status == 'test') {
322 322
                 case 'company':
323 323
                     $mailAddress = $organizationEmail;
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/CreatePaginator.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,8 @@
 block discarded – undo
42 42
         $this->filterSortParam($params);
43 43
         $paginator = $this->createPaginator($repository, $params);
44 44
         $paginator->setCurrentPageNumber($params->get('page', 1))
45
-                  ->setItemCountPerPage($params->get('count', 10))
46
-                  ->setPageRange($params->get('pageRange', 10));
45
+                    ->setItemCountPerPage($params->get('count', 10))
46
+                    ->setPageRange($params->get('pageRange', 10));
47 47
         
48 48
         return $paginator;
49 49
         
Please login to merge, or discard this patch.