Passed
Push — develop ( e40e4d...f102ca )
by Mathias
12:24
created
module/Jobs/src/View/Helper/ApplyUrl.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 
78 78
     public function __invoke(Job $jobEntity, $options = [])
79 79
     {
80
-        $options= array_merge($this->options, $options);
80
+        $options = array_merge($this->options, $options);
81 81
 
82 82
         $ats = $jobEntity->getAtsMode();
83 83
 
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         $urlHelper = $this->urlHelper;
91 91
 
92 92
         if ($ats->isIntern() || $ats->isEmail()) {
93
-            $query = [ 'subscriberUri' => $serverUrlHelper(array()) . '/subscriber/' . 1 ];
93
+            $query = ['subscriberUri' => $serverUrlHelper(array()).'/subscriber/'.1];
94 94
             $route = 'lang/apply';
95 95
             $params = [
96 96
                 'applyId' => $jobEntity->getApplyId(),
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         }
107 107
 
108 108
         if ($options['linkOnly']) {
109
-            $result=$url;
109
+            $result = $url;
110 110
             if ($options['absolute'] && !preg_match('~^https?://~', $url)) {
111 111
                 $result = $serverUrlHelper($url);
112 112
             }
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     {
126 126
         foreach ($options as $key=>$val) {
127 127
             if (array_key_exists($this->options, $key)) {
128
-                $this->options[$key]=$val;
128
+                $this->options[$key] = $val;
129 129
             }
130 130
         }
131 131
     }
Please login to merge, or discard this patch.