@@ -42,7 +42,7 @@ |
||
42 | 42 | { |
43 | 43 | $object = parent::hydrate($data, $object); |
44 | 44 | /* @var \Organizations\Entity\Template $template */ |
45 | - $template=$object->getOrganization()->getTemplate(); |
|
45 | + $template = $object->getOrganization()->getTemplate(); |
|
46 | 46 | if (isset($data['description-label-requirements'])) { |
47 | 47 | $template->setLabelRequirements($data['description-label-requirements']); |
48 | 48 | } |
@@ -64,7 +64,7 @@ |
||
64 | 64 | |
65 | 65 | $this->add($fieldset); |
66 | 66 | |
67 | - $mode=$options->getMode(); |
|
67 | + $mode = $options->getMode(); |
|
68 | 68 | if (in_array($mode, [CaptchaOptions::RE_CAPTCHA, CaptchaOptions::IMAGE])) { |
69 | 69 | if ($mode == CaptchaOptions::IMAGE) { |
70 | 70 | $captcha = new Image($options->getImage()); |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | |
22 | 22 | protected $sortPropertiesMap = [ |
23 | - 'name' => [ 'info.lastName', 'info.firstName', 'info.email' ], |
|
23 | + 'name' => ['info.lastName', 'info.firstName', 'info.email'], |
|
24 | 24 | ]; |
25 | 25 | |
26 | 26 | /** |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | if (true === $this->getOption('include_all_option')) { |
37 | 37 | $valueOptions = array_merge([ |
38 | 38 | 'all' => /*@translate*/ 'All', |
39 | - ], $valueOptions ); |
|
39 | + ], $valueOptions); |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | $this->setValueOptions($valueOptions); |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | $options = parent::getValueOptions(); |
83 | 83 | |
84 | 84 | return true === $this->getOption('include_all_option') |
85 | - ? array_merge([ 'all' => /*@translate*/ 'All' ], $options) |
|
85 | + ? array_merge(['all' => /*@translate*/ 'All'], $options) |
|
86 | 86 | : $options; |
87 | 87 | } |
88 | 88 |
@@ -39,15 +39,15 @@ |
||
39 | 39 | 'title' => 'Jobs', |
40 | 40 | 'data' => [ |
41 | 41 | /*@translate*/ 'Total jobs' => [ |
42 | - 'url' => [ 'lang/admin/jobs', [], true ], |
|
42 | + 'url' => ['lang/admin/jobs', [], true], |
|
43 | 43 | 'value' => $total, |
44 | 44 | ], |
45 | 45 | /*@translate*/ 'Active jobs' => [ |
46 | - 'url' => [ 'lang/admin/jobs', [], ['query' => [ 'status' => 'active' ]], true ], |
|
46 | + 'url' => ['lang/admin/jobs', [], ['query' => ['status' => 'active']], true], |
|
47 | 47 | 'value' => $active |
48 | 48 | ], |
49 | 49 | /*@translate*/ 'Pending jobs' => [ |
50 | - 'url' => [ 'lang/admin/jobs', [], ['query' => [ 'status' => 'created' ]], true ], |
|
50 | + 'url' => ['lang/admin/jobs', [], ['query' => ['status' => 'created']], true], |
|
51 | 51 | 'value' => $pending |
52 | 52 | ] |
53 | 53 | ], |
@@ -63,10 +63,10 @@ |
||
63 | 63 | $image = $org->getImage(); |
64 | 64 | $imageUrl = $image ? $image->getUri() : ''; |
65 | 65 | |
66 | - $options[$org->getId()] = $name . '|' |
|
67 | - . $contact->getCity() . '|' |
|
68 | - . $contact->getStreet() . '|' |
|
69 | - . $contact->getHouseNumber() . '|' |
|
66 | + $options[$org->getId()] = $name.'|' |
|
67 | + . $contact->getCity().'|' |
|
68 | + . $contact->getStreet().'|' |
|
69 | + . $contact->getHouseNumber().'|' |
|
70 | 70 | . $imageUrl; |
71 | 71 | } |
72 | 72 |
@@ -35,7 +35,7 @@ |
||
35 | 35 | |
36 | 36 | public function render(ElementInterface $element, $options = null) |
37 | 37 | { |
38 | - $content = '<iframe src="' . $element->getValue() . '" name="preview" style="width:100%; height:800px;"></iframe>'; |
|
38 | + $content = '<iframe src="'.$element->getValue().'" name="preview" style="width:100%; height:800px;"></iframe>'; |
|
39 | 39 | return $content; |
40 | 40 | } |
41 | 41 | } |
@@ -62,7 +62,7 @@ |
||
62 | 62 | $job = $this->repository->find($id); |
63 | 63 | |
64 | 64 | if (!$job) { |
65 | - throw new \RuntimeException('No job found with id "' . $id . '"'); |
|
65 | + throw new \RuntimeException('No job found with id "'.$id.'"'); |
|
66 | 66 | } |
67 | 67 | |
68 | 68 | $this->acl($job, 'edit'); |
@@ -39,7 +39,7 @@ |
||
39 | 39 | if (!array_key_exists('path', $config)) { |
40 | 40 | throw new \RuntimeException('path is missing', 500); |
41 | 41 | } |
42 | - return $config['scheme'] . '://' . $config['host'] . '/' . $config['path']; |
|
42 | + return $config['scheme'].'://'.$config['host'].'/'.$config['path']; |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | /** |