@@ -81,7 +81,7 @@ |
||
81 | 81 | |
82 | 82 | $adapter->setParams($params); |
83 | 83 | $paginator->setCurrentPageNumber($params->get('page', 1)) |
84 | - ->setItemCountPerPage($params->get('count', 10)); |
|
84 | + ->setItemCountPerPage($params->get('count', 10)); |
|
85 | 85 | |
86 | 86 | return $paginator; |
87 | 87 | } |
@@ -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 | /** |
@@ -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 |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | $application->changeStatus( |
146 | 146 | $application->getStatus(), |
147 | 147 | sprintf(/*@translate*/ 'Application was read by %s', |
148 | - $this->auth()->getUser()->getInfo()->getDisplayName())); |
|
148 | + $this->auth()->getUser()->getInfo()->getDisplayName())); |
|
149 | 149 | } |
150 | 150 | |
151 | 151 | |
@@ -172,9 +172,9 @@ discard block |
||
172 | 172 | $viewModel->setVariables( |
173 | 173 | /*array( |
174 | 174 | 'application' => */$this->serviceLocator |
175 | - ->get('builders') |
|
176 | - ->get('JsonApplication') |
|
177 | - ->unbuild($application) |
|
175 | + ->get('builders') |
|
176 | + ->get('JsonApplication') |
|
177 | + ->unbuild($application) |
|
178 | 178 | ); |
179 | 179 | $viewModel->setVariable('isUnread', $applicationIsUnread); |
180 | 180 | $return = $viewModel; |
@@ -337,12 +337,12 @@ discard block |
||
337 | 337 | |
338 | 338 | /* @var ApplicationEvent $event */ |
339 | 339 | $event = $events->getEvent(ApplicationEvent::EVENT_APPLICATION_STATUS_CHANGE, |
340 | - $this, |
|
341 | - [ |
|
342 | - 'application' => $application, |
|
343 | - 'status' => $status, |
|
344 | - 'user' => $this->auth()->getUser(), |
|
345 | - ] |
|
340 | + $this, |
|
341 | + [ |
|
342 | + 'application' => $application, |
|
343 | + 'status' => $status, |
|
344 | + 'user' => $this->auth()->getUser(), |
|
345 | + ] |
|
346 | 346 | ); |
347 | 347 | |
348 | 348 | $event->setIsPostRequest($request->isPost()); |
@@ -393,7 +393,7 @@ discard block |
||
393 | 393 | $emailAddress = $this->params()->fromQuery('email'); |
394 | 394 | /* @var \Applications\Entity\Application $application */ |
395 | 395 | $application = $services->get('repositories')->get('Applications/Application') |
396 | - ->find($this->params('id')); |
|
396 | + ->find($this->params('id')); |
|
397 | 397 | |
398 | 398 | $this->acl($application, 'forward'); |
399 | 399 |