@@ -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 | - $labelQualification=''; |
|
| 251 | - $labelBenefits=''; |
|
| 252 | - $labelRequirements=''; |
|
| 250 | + $labelQualification = ''; |
|
| 251 | + $labelBenefits = ''; |
|
| 252 | + $labelRequirements = ''; |
|
| 253 | 253 | |
| 254 | 254 | $organization = $this->job->organization; |
| 255 | 255 | if (isset($organization)) { |
@@ -1,12 +1,12 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * YAWIK |
|
| 4 | - * |
|
| 5 | - * @filesource |
|
| 6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
| 7 | - * @license MIT |
|
| 8 | - * @author [email protected] |
|
| 9 | - */ |
|
| 3 | + * YAWIK |
|
| 4 | + * |
|
| 5 | + * @filesource |
|
| 6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
| 7 | + * @license MIT |
|
| 8 | + * @author [email protected] |
|
| 9 | + */ |
|
| 10 | 10 | |
| 11 | 11 | namespace Jobs\Form; |
| 12 | 12 | |
@@ -67,6 +67,6 @@ discard block |
||
| 67 | 67 | ) |
| 68 | 68 | ) |
| 69 | 69 | ) |
| 70 | - ); |
|
| 70 | + ); |
|
| 71 | 71 | } |
| 72 | 72 | } |
@@ -499,7 +499,7 @@ |
||
| 499 | 499 | */ |
| 500 | 500 | public function getTemplate() |
| 501 | 501 | { |
| 502 | - if (null === $this->template){ |
|
| 502 | + if (null === $this->template) { |
|
| 503 | 503 | $this->template = new Template(); |
| 504 | 504 | } |
| 505 | 505 | return $this->template; |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | */ |
| 72 | 72 | public function setHouseNumber($houseNumber = "") |
| 73 | 73 | { |
| 74 | - $this->houseNumber=$houseNumber; |
|
| 74 | + $this->houseNumber = $houseNumber; |
|
| 75 | 75 | return $this; |
| 76 | 76 | } |
| 77 | 77 | |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | */ |
| 138 | 138 | public function setStreet($street = "") |
| 139 | 139 | { |
| 140 | - $this->street=$street; |
|
| 140 | + $this->street = $street; |
|
| 141 | 141 | return $this; |
| 142 | 142 | } |
| 143 | 143 | |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | */ |
| 161 | 161 | public function setPhone($phone = "") |
| 162 | 162 | { |
| 163 | - $this->phone=$phone; |
|
| 163 | + $this->phone = $phone; |
|
| 164 | 164 | } |
| 165 | 165 | |
| 166 | 166 | /** |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | */ |
| 183 | 183 | public function setFax($fax = "") |
| 184 | 184 | { |
| 185 | - $this->fax=$fax; |
|
| 185 | + $this->fax = $fax; |
|
| 186 | 186 | } |
| 187 | 187 | |
| 188 | 188 | /** |
@@ -31,21 +31,21 @@ discard block |
||
| 31 | 31 | * |
| 32 | 32 | * @var $string; |
| 33 | 33 | */ |
| 34 | - protected $labelRequirements='Requirements'; |
|
| 34 | + protected $labelRequirements = 'Requirements'; |
|
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * Label of the qualifications field in the job template |
| 38 | 38 | * |
| 39 | 39 | * @var $string; |
| 40 | 40 | */ |
| 41 | - protected $labelQualification='Qualifications'; |
|
| 41 | + protected $labelQualification = 'Qualifications'; |
|
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | 44 | * Label of the benefits field in the job template |
| 45 | 45 | * |
| 46 | 46 | * @var $string; |
| 47 | 47 | */ |
| 48 | - protected $labelBenefits='Benefits'; |
|
| 48 | + protected $labelBenefits = 'Benefits'; |
|
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | 51 | * Sets the label of the requirements form field |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | */ |
| 57 | 57 | public function setLabelRequirements($labelRequirements) |
| 58 | 58 | { |
| 59 | - $this->labelRequirements=$labelRequirements; |
|
| 59 | + $this->labelRequirements = $labelRequirements; |
|
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | /** |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | */ |
| 79 | 79 | public function setLabelQualification($labelQualification) |
| 80 | 80 | { |
| 81 | - $this->labelQualification=$labelQualification; |
|
| 81 | + $this->labelQualification = $labelQualification; |
|
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | /** |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | */ |
| 101 | 101 | public function setLabelBenefits($labelBenefits) |
| 102 | 102 | { |
| 103 | - $this->labelBenefits=$labelBenefits; |
|
| 103 | + $this->labelBenefits = $labelBenefits; |
|
| 104 | 104 | } |
| 105 | 105 | |
| 106 | 106 | /** |