@@ -95,7 +95,7 @@ |
||
| 95 | 95 | public function getName() |
| 96 | 96 | { |
| 97 | 97 | if ($this->FirstName) { |
| 98 | - return $this->FirstName . ' ' . $this->LastName; |
|
| 98 | + return $this->FirstName.' '.$this->LastName; |
|
| 99 | 99 | } else { |
| 100 | 100 | return 'No Name'; |
| 101 | 101 | } |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | */ |
| 34 | 34 | public function updateCollectionItems(&$collection) |
| 35 | 35 | { |
| 36 | - $collection = $collection->filterByCallback(function ($item) { |
|
| 36 | + $collection = $collection->filterByCallback(function($item) { |
|
| 37 | 37 | return ( |
| 38 | 38 | $item->PostDate <= DBDatetime::now() && |
| 39 | 39 | $item->EndPostDate >= DBDatetime::now() |
@@ -151,7 +151,7 @@ |
||
| 151 | 151 | */ |
| 152 | 152 | public function getCMSFields() |
| 153 | 153 | { |
| 154 | - $this->beforeUpdateCMSFields(function ($fields) { |
|
| 154 | + $this->beforeUpdateCMSFields(function($fields) { |
|
| 155 | 155 | $fields->dataFieldByName('Title') |
| 156 | 156 | ->setTitle('Position Name'); |
| 157 | 157 | |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | */ |
| 82 | 82 | public function getCMSFields() |
| 83 | 83 | { |
| 84 | - $this->beforeUpdateCMSFields(function ($fields) { |
|
| 84 | + $this->beforeUpdateCMSFields(function($fields) { |
|
| 85 | 85 | $app = new UploadField('Application', 'Application Form'); |
| 86 | 86 | $app |
| 87 | 87 | ->setDescription('optional - include application file to print and complete manually') |