@@ -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 | } |
@@ -44,14 +44,14 @@ |
||
| 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 | } |
@@ -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 | } |
@@ -16,6 +16,6 @@ |
||
| 16 | 16 | $container = new \Core\Form\CollectionContainer('CvEmploymentForm', new \Cv\Entity\Employment()); |
| 17 | 17 | $container->setLabel(/*@translate */ 'Employment history'); |
| 18 | 18 | |
| 19 | - return $container; |
|
| 19 | + return $container; |
|
| 20 | 20 | } |
| 21 | 21 | } |