@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | $dateStart = $this->job->getDatePublishStart(); |
53 | 53 | $dateStart = $dateStart ? $dateStart->format('Y-m-d') : null; |
54 | 54 | |
55 | - $array=[ |
|
55 | + $array = [ |
|
56 | 56 | '@context'=>'http://schema.org/', |
57 | 57 | '@type' => 'JobPosting', |
58 | 58 | 'title' => $this->job->getTitle(), |
@@ -84,9 +84,9 @@ discard block |
||
84 | 84 | * |
85 | 85 | * @return array |
86 | 86 | */ |
87 | - private function getLocations($locations){ |
|
88 | - $array=[]; |
|
89 | - foreach($locations as $location){ /* @var \Core\Entity\LocationInterface $location */ |
|
87 | + private function getLocations($locations) { |
|
88 | + $array = []; |
|
89 | + foreach ($locations as $location) { /* @var \Core\Entity\LocationInterface $location */ |
|
90 | 90 | array_push( |
91 | 91 | $array, |
92 | 92 | [ |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | */ |
113 | 113 | private function getDescription(TemplateValuesInterface $values) { |
114 | 114 | |
115 | - $description=sprintf( |
|
115 | + $description = sprintf( |
|
116 | 116 | "<p>%s</p>". |
117 | 117 | "<h1>%s</h1>". |
118 | 118 | "<h3>Requirements</h3><p>%s</p>". |