@@ -37,7 +37,7 @@ |
||
| 37 | 37 | /** |
| 38 | 38 | * Sets the label of the qualifications form field |
| 39 | 39 | * |
| 40 | - * @param string $labelQualification |
|
| 40 | + * @param string $labelQualifications |
|
| 41 | 41 | * |
| 42 | 42 | * @return self |
| 43 | 43 | */ |
@@ -42,8 +42,8 @@ |
||
| 42 | 42 | { |
| 43 | 43 | $object = parent::hydrate($data, $object); |
| 44 | 44 | /* @var \Organizations\Entity\Template $template */ |
| 45 | - $template=$object->getOrganization()->getTemplate(); |
|
| 46 | - if (isset($data['description-label-requirements'])){ |
|
| 45 | + $template = $object->getOrganization()->getTemplate(); |
|
| 46 | + if (isset($data['description-label-requirements'])) { |
|
| 47 | 47 | $template->setLabelRequirements($data['description-label-requirements']); |
| 48 | 48 | } |
| 49 | 49 | if (isset($data['description-label-qualifications'])) { |
@@ -171,7 +171,7 @@ discard block |
||
| 171 | 171 | throw new \InvalidArgumentException('cannot create a viewModel for Templates without aa $job'); |
| 172 | 172 | } |
| 173 | 173 | $location = $this->job->getLocation(); |
| 174 | - $this->container['location'] = isset($location)?$location:''; |
|
| 174 | + $this->container['location'] = isset($location) ? $location : ''; |
|
| 175 | 175 | return $this; |
| 176 | 176 | } |
| 177 | 177 | |
@@ -192,7 +192,7 @@ discard block |
||
| 192 | 192 | } |
| 193 | 193 | $description = $this->job->templateValues->description; |
| 194 | 194 | |
| 195 | - $this->container['description'] = isset($description)?$description:''; |
|
| 195 | + $this->container['description'] = isset($description) ? $description : ''; |
|
| 196 | 196 | return $this; |
| 197 | 197 | } |
| 198 | 198 | |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | $organization = $this->job->organization; |
| 215 | 215 | if (isset($organization)) { |
| 216 | 216 | $organizationName = $organization->organizationName->name; |
| 217 | - $organizationStreet = $organization->contact->street.' '.$organization->contact->houseNumber; |
|
| 217 | + $organizationStreet = $organization->contact->street . ' ' . $organization->contact->houseNumber; |
|
| 218 | 218 | $organizationPostalCode = $organization->contact->postalcode; |
| 219 | 219 | $organizationPostalCity = $organization->contact->city; |
| 220 | 220 | $organizationPhone = $organization->contact->phone; |
@@ -247,9 +247,9 @@ discard block |
||
| 247 | 247 | if (!isset($this->job)) { |
| 248 | 248 | throw new \InvalidArgumentException('cannot create a viewModel for Templates without a $job'); |
| 249 | 249 | } |
| 250 | - $labelQualifications=''; |
|
| 251 | - $labelBenefits=''; |
|
| 252 | - $labelRequirements=''; |
|
| 250 | + $labelQualifications = ''; |
|
| 251 | + $labelBenefits = ''; |
|
| 252 | + $labelRequirements = ''; |
|
| 253 | 253 | |
| 254 | 254 | $organization = $this->job->organization; |
| 255 | 255 | if (isset($organization)) { |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | * @var $string; |
| 33 | 33 | * @ODM\String |
| 34 | 34 | */ |
| 35 | - protected $labelRequirements='Requirements'; |
|
| 35 | + protected $labelRequirements = 'Requirements'; |
|
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | 38 | * Label of the qualifications field in the job template |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | * @ODM\String |
| 41 | 41 | * @var $string; |
| 42 | 42 | */ |
| 43 | - protected $labelQualifications='Qualifications'; |
|
| 43 | + protected $labelQualifications = 'Qualifications'; |
|
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | 46 | * Label of the benefits field in the job template |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | * @ODM\String |
| 49 | 49 | * @var $string; |
| 50 | 50 | */ |
| 51 | - protected $labelBenefits='Benefits'; |
|
| 51 | + protected $labelBenefits = 'Benefits'; |
|
| 52 | 52 | |
| 53 | 53 | /** |
| 54 | 54 | * Sets the label of the requirements form field |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | */ |
| 60 | 60 | public function setLabelRequirements($labelRequirements) |
| 61 | 61 | { |
| 62 | - $this->labelRequirements=$labelRequirements; |
|
| 62 | + $this->labelRequirements = $labelRequirements; |
|
| 63 | 63 | return $this; |
| 64 | 64 | } |
| 65 | 65 | |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | */ |
| 83 | 83 | public function setLabelQualifications($labelQualifications) |
| 84 | 84 | { |
| 85 | - $this->labelQualifications=$labelQualifications; |
|
| 85 | + $this->labelQualifications = $labelQualifications; |
|
| 86 | 86 | return $this; |
| 87 | 87 | } |
| 88 | 88 | |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | */ |
| 106 | 106 | public function setLabelBenefits($labelBenefits) |
| 107 | 107 | { |
| 108 | - $this->labelBenefits=$labelBenefits; |
|
| 108 | + $this->labelBenefits = $labelBenefits; |
|
| 109 | 109 | return $this; |
| 110 | 110 | } |
| 111 | 111 | |