Completed
Pull Request — develop (#480)
by Carsten
05:33
created
module/Jobs/src/Jobs/Model/ApiJobDehydrator.php 2 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -22,11 +22,11 @@  discard block
 block discarded – undo
22 22
      */
23 23
     protected $url;
24 24
 
25
-  /**
26
-   * ViewHelper for generating an url to a job posting
27
-   *
28
-   * @var JobUrl $jobUrl
29
-   */
25
+    /**
26
+     * ViewHelper for generating an url to a job posting
27
+     *
28
+     * @var JobUrl $jobUrl
29
+     */
30 30
     protected $jobUrl;
31 31
 
32 32
     /**
@@ -40,11 +40,11 @@  discard block
 block discarded – undo
40 40
         return $this;
41 41
     }
42 42
 
43
-   /**
44
-    * @param JobUrl $url
45
-    *
46
-    * @return $this
47
-    */
43
+    /**
44
+     * @param JobUrl $url
45
+     *
46
+     * @return $this
47
+     */
48 48
     public function setJobUrl($url)
49 49
     {
50 50
         $this->jobUrl = $url;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         return array(
62 62
             'title' => $job->getTitle(),
63 63
             'location' => $job->getLocation(),
64
-            'link' => $this->jobUrl->__invoke($job,['linkOnly'=> true]),
64
+            'link' => $this->jobUrl->__invoke($job, ['linkOnly'=> true]),
65 65
             'organization' => array(
66 66
                 'name' => $job->getOrganization()->getOrganizationName()->getName(),
67 67
             ),
Please login to merge, or discard this patch.