@@ -513,7 +513,7 @@ discard block |
||
513 | 513 | if ($removePermissions) { |
514 | 514 | $this->getPermissions()->revoke($this->user, Permissions::PERMISSION_ALL); |
515 | 515 | } |
516 | - $this->user=null; |
|
516 | + $this->user = null; |
|
517 | 517 | } |
518 | 518 | |
519 | 519 | return $this; |
@@ -1003,7 +1003,7 @@ discard block |
||
1003 | 1003 | */ |
1004 | 1004 | public function getSnapshotGenerator() |
1005 | 1005 | { |
1006 | - $generator = array ( |
|
1006 | + $generator = array( |
|
1007 | 1007 | 'hydrator' => '', |
1008 | 1008 | 'target' => 'Jobs\Entity\JobSnapshot', |
1009 | 1009 | 'exclude' => array('permissions', 'history') |
@@ -198,7 +198,7 @@ |
||
198 | 198 | * |
199 | 199 | * @return UserInterface $user |
200 | 200 | */ |
201 | - public function getUser() ; |
|
201 | + public function getUser(); |
|
202 | 202 | |
203 | 203 | /** |
204 | 204 | * Gets the link to the application form |
@@ -303,14 +303,14 @@ |
||
303 | 303 | { |
304 | 304 | $methods = array_filter( |
305 | 305 | get_class_methods($source), |
306 | - function ($v) { |
|
306 | + function($v) { |
|
307 | 307 | return 3 < strlen($v) && strpos($v, 'get') === 0; |
308 | 308 | } |
309 | 309 | ); |
310 | 310 | // these attributes don't need to get copied |
311 | 311 | $methods = array_diff($methods, array('getId', 'getHydrator', 'getHiringOrganizations')); |
312 | 312 | $methods = array_map( |
313 | - function ($v) { |
|
313 | + function($v) { |
|
314 | 314 | return lcfirst(substr($v, 3)); |
315 | 315 | }, |
316 | 316 | $methods |
@@ -56,8 +56,8 @@ discard block |
||
56 | 56 | if (!defined($constant)) { |
57 | 57 | throw new \DomainException('Unknown status: ' . $status); |
58 | 58 | } |
59 | - $this->name=constant($constant); |
|
60 | - $this->order=$this->getOrder(); |
|
59 | + $this->name = constant($constant); |
|
60 | + $this->order = $this->getOrder(); |
|
61 | 61 | } |
62 | 62 | |
63 | 63 | /** |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | */ |
67 | 67 | public function getName() |
68 | 68 | { |
69 | - return isset($this->name)?$this->name:''; |
|
69 | + return isset($this->name) ? $this->name : ''; |
|
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
@@ -36,12 +36,12 @@ discard block |
||
36 | 36 | /** |
37 | 37 | * A Job is accepted an is going to be published |
38 | 38 | */ |
39 | - const PUBLISH = /*@translate*/ 'publish'; |
|
39 | + const PUBLISH = /*@translate*/ 'publish'; |
|
40 | 40 | |
41 | 41 | /** |
42 | 42 | * A Job is online |
43 | 43 | */ |
44 | - const ACTIVE = /*@translate*/ 'active'; |
|
44 | + const ACTIVE = /*@translate*/ 'active'; |
|
45 | 45 | |
46 | 46 | /** |
47 | 47 | * A job was is set inactive |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | /** |
52 | 52 | * A job was expired |
53 | 53 | */ |
54 | - const EXPIRED = /*@translate*/ 'expired'; |
|
54 | + const EXPIRED = /*@translate*/ 'expired'; |
|
55 | 55 | |
56 | 56 | public function __construct($status = self::CREATED); |
57 | 57 |
@@ -36,7 +36,7 @@ |
||
36 | 36 | $helpers = $services->get('ViewHelperManager'); |
37 | 37 | // $headScript = $helpers->get('headScript'); |
38 | 38 | /// $basePath = $helpers->get('basePath'); |
39 | - $currencyFormat = $helpers->get('currencyFormat'); |
|
39 | + $currencyFormat = $helpers->get('currencyFormat'); |
|
40 | 40 | |
41 | 41 | $channels = $services->get('Jobs/Options/Provider'); |
42 | 42 |
@@ -32,7 +32,7 @@ |
||
32 | 32 | |
33 | 33 | $jobs_options = isset($config['jobs_options']) ? $config['jobs_options'] : array(); |
34 | 34 | |
35 | - if (!array_key_exists('multipostingApprovalMail', $jobs_options) || '' == trim($jobs_options['multipostingApprovalMail'])) { |
|
35 | + if (!array_key_exists('multipostingApprovalMail', $jobs_options) || '' == trim($jobs_options['multipostingApprovalMail'])) { |
|
36 | 36 | $coreOptions = $serviceLocator->get('Core/Options'); |
37 | 37 | $jobs_options['multipostingApprovalMail'] = $coreOptions->getSystemMessageEmail(); |
38 | 38 | } |
@@ -24,7 +24,7 @@ |
||
24 | 24 | $core = $serviceLocator->get("Core/Options"); |
25 | 25 | |
26 | 26 | if ('' == $channel->getCurrency()) { |
27 | - $currency=$core->getDefaultCurrencyCode(); |
|
27 | + $currency = $core->getDefaultCurrencyCode(); |
|
28 | 28 | $channel->setCurrency($currency); |
29 | 29 | } |
30 | 30 |
@@ -47,7 +47,7 @@ |
||
47 | 47 | ) |
48 | 48 | ); |
49 | 49 | |
50 | - $data['previewLink'] = $viewLink; |
|
50 | + $data['previewLink'] = $viewLink; |
|
51 | 51 | return $data; |
52 | 52 | } |
53 | 53 |