@@ -77,7 +77,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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; |
@@ -42,8 +42,8 @@ |
||
| 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 | |