Completed
Push — develop ( 853327...8b432d )
by Mathias
17s queued 13s
created
module/Jobs/src/Jobs/Entity/Decorator/JsonLdProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
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(),
@@ -85,16 +85,16 @@  discard block
 block discarded – undo
85 85
      *
86 86
      * @return array
87 87
      */
88
-    private function getLocations($locations){
89
-        $array=[];
90
-        foreach($locations as $location){ /* @var \Core\Entity\LocationInterface $location */
88
+    private function getLocations($locations) {
89
+        $array = [];
90
+        foreach ($locations as $location) { /* @var \Core\Entity\LocationInterface $location */
91 91
             array_push(
92 92
                 $array,
93 93
                 [
94 94
                     '@type' => 'Place',
95 95
                     'address' => [
96 96
                         '@type' => 'PostalAddress',
97
-                        'streetAddress' => $location->getStreetname() .' '.$location->getStreetnumber(),
97
+                        'streetAddress' => $location->getStreetname().' '.$location->getStreetnumber(),
98 98
                         'postalCode' => $location->getPostalCode(),
99 99
                         'addressLocality' => $location->getCity(),
100 100
                         'addressCountry' => $location->getCountry(),
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      */
115 115
     private function getDescription(TemplateValuesInterface $values) {
116 116
 
117
-        $description=sprintf(
117
+        $description = sprintf(
118 118
             "<p>%s</p>".
119 119
             "<h1>%s</h1>".
120 120
             "<h3>Requirements</h3><p>%s</p>".
Please login to merge, or discard this patch.