@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | $element = $page->find('css',$mapMultiple[$field]); |
185 | 185 | if(!is_null($element) && $element->getAttribute('multiple')=='multiple'){ |
186 | 186 | $this->minkContext->selectOption($value,$multipleField); |
187 | - }else{ |
|
187 | + } else{ |
|
188 | 188 | $locator = $mapSelect2[$field]; |
189 | 189 | $this->select2Context->iFillInSelect2Field($locator,$value); |
190 | 190 | } |
@@ -247,14 +247,14 @@ discard block |
||
247 | 247 | if($user instanceof User){ |
248 | 248 | $job->setUser($user); |
249 | 249 | $job->setOrganization($organization); |
250 | - }else{ |
|
250 | + } else{ |
|
251 | 251 | throw new \Exception('There is no user with this login:"'.$normalizedField['user'.'"']); |
252 | 252 | } |
253 | 253 | } |
254 | 254 | |
255 | 255 | if($status == 'draft'){ |
256 | 256 | $job->setIsDraft(true); |
257 | - }elseif($status == 'published'){ |
|
257 | + } elseif($status == 'published'){ |
|
258 | 258 | $job->setIsDraft(false); |
259 | 259 | $job->setDatePublishStart(new \DateTime()); |
260 | 260 | } |
@@ -190,7 +190,7 @@ |
||
190 | 190 | { |
191 | 191 | if(is_null($name)){ |
192 | 192 | $organization = $this->getUserContext()->getCurrentUser()->getOrganization()->getOrganization(); |
193 | - }else{ |
|
193 | + } else{ |
|
194 | 194 | $organization = $this->findOrganizationByName($name); |
195 | 195 | } |
196 | 196 | $url = $this->buildUrl('lang/organizations/profileDetail',[ |