@@ -25,9 +25,9 @@ |
||
25 | 25 | public function indexAction() |
26 | 26 | { |
27 | 27 | return $this->pagination([ |
28 | - 'form' => ['Core/TextSearch', 'as' => 'form'], |
|
29 | - 'paginator' => ['Orders', [ 'sort' => 'date'], 'as' => 'orders'] |
|
30 | - ]); |
|
28 | + 'form' => ['Core/TextSearch', 'as' => 'form'], |
|
29 | + 'paginator' => ['Orders', [ 'sort' => 'date'], 'as' => 'orders'] |
|
30 | + ]); |
|
31 | 31 | } |
32 | 32 | |
33 | 33 | public function viewAction() |
@@ -41,7 +41,7 @@ |
||
41 | 41 | $organizations = $organizationReference->getHiringOrganizations()->toArray(); |
42 | 42 | $organization = $organizationReference->getOrganization(); |
43 | 43 | if (!$organization->isDraft()) { |
44 | - array_unshift($organizations, $organization); |
|
44 | + array_unshift($organizations, $organization); |
|
45 | 45 | } |
46 | 46 | $select->setSelectableOrganizations($organizations, /* addEmptyOption */ |
47 | 47 | false |
@@ -53,10 +53,10 @@ |
||
53 | 53 | |
54 | 54 | if ($emailOrAddressOrList instanceOf UserInterface) { |
55 | 55 | parent::updateAddressList( |
56 | - $addressList, |
|
57 | - $emailOrAddressOrList->getInfo()->getEmail(), |
|
58 | - $emailOrAddressOrList->getInfo()->getDisplayName(false), |
|
59 | - $callingMethod |
|
56 | + $addressList, |
|
57 | + $emailOrAddressOrList->getInfo()->getEmail(), |
|
58 | + $emailOrAddressOrList->getInfo()->getDisplayName(false), |
|
59 | + $callingMethod |
|
60 | 60 | ); |
61 | 61 | return; |
62 | 62 | } |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | } elseif (isset($this->config['templateHalf'])) { |
169 | 169 | $template = $this->config['templateHalf']; |
170 | 170 | } else { |
171 | - throw new \InvalidArgumentException('Not template provided for Mail.'); |
|
171 | + throw new \InvalidArgumentException('Not template provided for Mail.'); |
|
172 | 172 | } |
173 | 173 | return $template; |
174 | 174 | } |
@@ -181,19 +181,19 @@ discard block |
||
181 | 181 | $from = $this->config['from']; |
182 | 182 | } else { |
183 | 183 | $log->err('A from email address must be provided (Variable $from) in Template: ' . $template); |
184 | - throw new \InvalidArgumentException('A from email address must be provided (Variable $from) in Template: ' . $template); |
|
184 | + throw new \InvalidArgumentException('A from email address must be provided (Variable $from) in Template: ' . $template); |
|
185 | 185 | } |
186 | 186 | if (isset($this->config['fromName'])) { |
187 | 187 | $fromName = $this->config['fromName']; |
188 | 188 | } else { |
189 | 189 | $log->err('A from name must be provided (Variable $fromName) in Template: ' . $template); |
190 | - throw new \InvalidArgumentException('A from name must be provided (Variable $fromName) in Template: ' . $template); |
|
190 | + throw new \InvalidArgumentException('A from name must be provided (Variable $fromName) in Template: ' . $template); |
|
191 | 191 | } |
192 | 192 | if (isset($this->config['subject'])) { |
193 | 193 | $subject = $this->config['subject']; |
194 | 194 | } else { |
195 | 195 | $log->err('A subject must be provided (Variable $subject) in Template: ' . $template); |
196 | - throw new \InvalidArgumentException('A subject must be provided (Variable $subject) in Template: ' . $template); |
|
196 | + throw new \InvalidArgumentException('A subject must be provided (Variable $subject) in Template: ' . $template); |
|
197 | 197 | } |
198 | 198 | $this->setFrom($from, $fromName); |
199 | 199 | $this->setSubject($subject); |
@@ -56,7 +56,7 @@ |
||
56 | 56 | */ |
57 | 57 | public function postDispatch(MvcEvent $e) |
58 | 58 | { |
59 | - // $view = $this->serviceLocator->get('view'); |
|
59 | + // $view = $this->serviceLocator->get('view'); |
|
60 | 60 | |
61 | 61 | } |
62 | 62 |
@@ -56,6 +56,6 @@ |
||
56 | 56 | $form = new static(); |
57 | 57 | $form->forms = $forms; |
58 | 58 | |
59 | - return $form; |
|
59 | + return $form; |
|
60 | 60 | } |
61 | 61 | } |
@@ -128,6 +128,6 @@ |
||
128 | 128 | |
129 | 129 | $pointer = $this->pointer + 1; |
130 | 130 | |
131 | - return isset($this->ids[$pointer]) ? $this->ids[$pointer] : null; |
|
131 | + return isset($this->ids[$pointer]) ? $this->ids[$pointer] : null; |
|
132 | 132 | } |
133 | 133 | } |
@@ -55,8 +55,8 @@ |
||
55 | 55 | { |
56 | 56 | /* @var $options \Applications\Options\ModuleOptions */ |
57 | 57 | $form->get($this->fileName)->setViewHelper('FormImageUpload') |
58 | - ->setMaxSize($options->getContactImageMaxSize()) |
|
59 | - ->setAllowedTypes($options->getContactImageMimeType()) |
|
60 | - ->setForm($form); |
|
58 | + ->setMaxSize($options->getContactImageMaxSize()) |
|
59 | + ->setAllowedTypes($options->getContactImageMimeType()) |
|
60 | + ->setForm($form); |
|
61 | 61 | } |
62 | 62 | } |
@@ -156,41 +156,41 @@ |
||
156 | 156 | return $this->description; |
157 | 157 | } |
158 | 158 | |
159 | - /** |
|
160 | - * @return string |
|
161 | - */ |
|
162 | - public function getCountry() |
|
163 | - { |
|
164 | - return $this->country; |
|
165 | - } |
|
166 | - |
|
167 | - /** |
|
168 | - * @param string $country |
|
169 | - * @return Education |
|
170 | - */ |
|
171 | - public function setCountry($country) |
|
172 | - { |
|
173 | - $this->country = $country; |
|
159 | + /** |
|
160 | + * @return string |
|
161 | + */ |
|
162 | + public function getCountry() |
|
163 | + { |
|
164 | + return $this->country; |
|
165 | + } |
|
166 | + |
|
167 | + /** |
|
168 | + * @param string $country |
|
169 | + * @return Education |
|
170 | + */ |
|
171 | + public function setCountry($country) |
|
172 | + { |
|
173 | + $this->country = $country; |
|
174 | 174 | |
175 | - return $this; |
|
176 | - } |
|
177 | - |
|
178 | - /** |
|
179 | - * @return string |
|
180 | - */ |
|
181 | - public function getCity() |
|
182 | - { |
|
183 | - return $this->city; |
|
184 | - } |
|
185 | - |
|
186 | - /** |
|
187 | - * @param string $city |
|
188 | - * @return Education |
|
189 | - */ |
|
190 | - public function setCity($city) |
|
191 | - { |
|
192 | - $this->city = $city; |
|
175 | + return $this; |
|
176 | + } |
|
177 | + |
|
178 | + /** |
|
179 | + * @return string |
|
180 | + */ |
|
181 | + public function getCity() |
|
182 | + { |
|
183 | + return $this->city; |
|
184 | + } |
|
185 | + |
|
186 | + /** |
|
187 | + * @param string $city |
|
188 | + * @return Education |
|
189 | + */ |
|
190 | + public function setCity($city) |
|
191 | + { |
|
192 | + $this->city = $city; |
|
193 | 193 | |
194 | - return $this; |
|
195 | - } |
|
194 | + return $this; |
|
195 | + } |
|
196 | 196 | } |