@@ -1,6 +1,5 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - |
|
4 | 3 | */ |
5 | 4 | |
6 | 5 | namespace Core\Form\View\Helper; |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | } |
67 | 67 | |
68 | 68 | $fieldset->setUseAsBaseFieldset(true) |
69 | - ->setName('base'); |
|
69 | + ->setName('base'); |
|
70 | 70 | |
71 | 71 | $fieldset->setObject($object); |
72 | 72 | $this->add($fieldset); |
@@ -92,8 +92,8 @@ discard block |
||
92 | 92 | { |
93 | 93 | parent::setName(strtolower($name) . '-settings'); |
94 | 94 | $urlHelper = $this->formManager->getServiceLocator() |
95 | - ->get('ViewHelperManager') |
|
96 | - ->get('url'); |
|
95 | + ->get('ViewHelperManager') |
|
96 | + ->get('url'); |
|
97 | 97 | |
98 | 98 | $url = $urlHelper('lang/settings', array('module' => $name), true); |
99 | 99 | $this->setAttribute('action', $url); |
@@ -182,9 +182,9 @@ discard block |
||
182 | 182 | $location = new Location(); |
183 | 183 | $coords = array_map(function ($i) { return (float) $i; }, $locData['coordinates']); |
184 | 184 | $location->setCountry($locData['country']) |
185 | - ->setRegion($locData['region']) |
|
186 | - ->setCity($locData['city']) |
|
187 | - ->setCoordinates(new Point($coords)); |
|
185 | + ->setRegion($locData['region']) |
|
186 | + ->setCity($locData['city']) |
|
187 | + ->setCoordinates(new Point($coords)); |
|
188 | 188 | |
189 | 189 | $jobLocations->add($location); |
190 | 190 | } |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | /* @var $jobEvents \Zend\EventManager\EventManager */ |
216 | 216 | $jobEvents = $services->get('Jobs/Events'); |
217 | 217 | $jobEvent->setName(JobEvent::EVENT_JOB_ACCEPTED) |
218 | - ->setTarget($this); |
|
218 | + ->setTarget($this); |
|
219 | 219 | $responses = $jobEvents->trigger($jobEvent); |
220 | 220 | foreach ($responses as $response) { |
221 | 221 | // responses from the portals |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * @filesource |
6 | 6 | * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
7 | 7 | * @license MIT |
8 | - */ |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace Jobs\Factory\Form\Hydrator; |
11 | 11 |
@@ -107,23 +107,23 @@ |
||
107 | 107 | |
108 | 108 | |
109 | 109 | /** |
110 | - * Sets the name of the organization |
|
111 | - * |
|
112 | - * @param OrganizationName organizationName |
|
113 | - * @return OrganizationInterface |
|
114 | - */ |
|
110 | + * Sets the name of the organization |
|
111 | + * |
|
112 | + * @param OrganizationName organizationName |
|
113 | + * @return OrganizationInterface |
|
114 | + */ |
|
115 | 115 | public function setOrganizationName(OrganizationName $organizationNames); |
116 | 116 | |
117 | - /** |
|
118 | - * Gets the name of the organization |
|
119 | - * |
|
120 | - * @return OrganizationName |
|
121 | - */ |
|
117 | + /** |
|
118 | + * Gets the name of the organization |
|
119 | + * |
|
120 | + * @return OrganizationName |
|
121 | + */ |
|
122 | 122 | public function getOrganizationName(); |
123 | 123 | |
124 | - /** |
|
125 | - * @return string |
|
126 | - */ |
|
124 | + /** |
|
125 | + * @return string |
|
126 | + */ |
|
127 | 127 | public function getDescription(); |
128 | 128 | |
129 | 129 | /** |
@@ -16,6 +16,6 @@ |
||
16 | 16 | $container = new \Core\Form\CollectionContainer('CvSkillForm', new \Cv\Entity\Skill()); |
17 | 17 | $container->setLabel(/*@translate */ 'Skills'); |
18 | 18 | |
19 | - return $container; |
|
19 | + return $container; |
|
20 | 20 | } |
21 | 21 | } |
@@ -16,6 +16,6 @@ |
||
16 | 16 | $container = new \Core\Form\CollectionContainer('Cv/LanguageSkillForm', new \Cv\Entity\Language()); |
17 | 17 | $container->setLabel(/*@translate */ 'Additional Language Skills'); |
18 | 18 | |
19 | - return $container; |
|
19 | + return $container; |
|
20 | 20 | } |
21 | 21 | } |
@@ -74,14 +74,14 @@ |
||
74 | 74 | $count = $options->getAttachmentsCount(); |
75 | 75 | |
76 | 76 | $form->setIsDisableCapable(false) |
77 | - ->setIsDisableElementsCapable(false) |
|
78 | - ->setIsDescriptionsEnabled(true) |
|
79 | - ->setDescription( |
|
77 | + ->setIsDisableElementsCapable(false) |
|
78 | + ->setIsDescriptionsEnabled(true) |
|
79 | + ->setDescription( |
|
80 | 80 | /*@translate*/ 'Attach images or PDF Documents to your CV. Drag&drop them, or click into the attachement area. You can upload up to %sMB', |
81 | - [round($size/(1024*1024))>0? round($size/(1024*1024)):round($size/(1024*1024), 1)] |
|
82 | - ) |
|
83 | - ->setParam('return', 'file-uri') |
|
84 | - ->setLabel(/*@translate*/ 'Attachments'); |
|
81 | + [round($size/(1024*1024))>0? round($size/(1024*1024)):round($size/(1024*1024), 1)] |
|
82 | + ) |
|
83 | + ->setParam('return', 'file-uri') |
|
84 | + ->setLabel(/*@translate*/ 'Attachments'); |
|
85 | 85 | |
86 | 86 | /* @var $file \Core\Form\Element\FileUpload */ |
87 | 87 | $file = $form->get($this->fileName); |
@@ -44,16 +44,16 @@ |
||
44 | 44 | $this->contact->setImage(null); |
45 | 45 | } |
46 | 46 | |
47 | - /** |
|
48 | - * @param Contact $contact |
|
49 | - * @return ContactImage |
|
50 | - */ |
|
51 | - public function setContact(Contact $contact) |
|
52 | - { |
|
53 | - $this->contact = $contact; |
|
47 | + /** |
|
48 | + * @param Contact $contact |
|
49 | + * @return ContactImage |
|
50 | + */ |
|
51 | + public function setContact(Contact $contact) |
|
52 | + { |
|
53 | + $this->contact = $contact; |
|
54 | 54 | |
55 | - return $this; |
|
56 | - } |
|
55 | + return $this; |
|
56 | + } |
|
57 | 57 | |
58 | 58 | /** |
59 | 59 | * @return Contact |