@@ -208,13 +208,13 @@ discard block |
||
| 208 | 208 | return $this->email; |
| 209 | 209 | } |
| 210 | 210 | |
| 211 | - /** |
|
| 212 | - * @return bool |
|
| 213 | - */ |
|
| 214 | - public function getOneClickApply() |
|
| 215 | - { |
|
| 216 | - return $this->oneClickApply; |
|
| 217 | - } |
|
| 211 | + /** |
|
| 212 | + * @return bool |
|
| 213 | + */ |
|
| 214 | + public function getOneClickApply() |
|
| 215 | + { |
|
| 216 | + return $this->oneClickApply; |
|
| 217 | + } |
|
| 218 | 218 | |
| 219 | 219 | |
| 220 | 220 | /** |
@@ -222,29 +222,29 @@ discard block |
||
| 222 | 222 | * |
| 223 | 223 | * @return $this |
| 224 | 224 | */ |
| 225 | - public function setOneClickApply($oneClickApply) |
|
| 226 | - { |
|
| 227 | - $this->oneClickApply = (bool)$oneClickApply; |
|
| 225 | + public function setOneClickApply($oneClickApply) |
|
| 226 | + { |
|
| 227 | + $this->oneClickApply = (bool)$oneClickApply; |
|
| 228 | 228 | |
| 229 | - return $this; |
|
| 230 | - } |
|
| 231 | - |
|
| 232 | - /** |
|
| 233 | - * @return array |
|
| 234 | - */ |
|
| 235 | - public function getOneClickApplyProfiles() |
|
| 236 | - { |
|
| 237 | - return $this->oneClickApplyProfiles; |
|
| 238 | - } |
|
| 239 | - |
|
| 240 | - /** |
|
| 241 | - * @param array $oneClickApplyProfiles |
|
| 242 | - * @return AtsMode |
|
| 243 | - */ |
|
| 244 | - public function setOneClickApplyProfiles(array $oneClickApplyProfiles) |
|
| 245 | - { |
|
| 246 | - $this->oneClickApplyProfiles = $oneClickApplyProfiles; |
|
| 229 | + return $this; |
|
| 230 | + } |
|
| 231 | + |
|
| 232 | + /** |
|
| 233 | + * @return array |
|
| 234 | + */ |
|
| 235 | + public function getOneClickApplyProfiles() |
|
| 236 | + { |
|
| 237 | + return $this->oneClickApplyProfiles; |
|
| 238 | + } |
|
| 239 | + |
|
| 240 | + /** |
|
| 241 | + * @param array $oneClickApplyProfiles |
|
| 242 | + * @return AtsMode |
|
| 243 | + */ |
|
| 244 | + public function setOneClickApplyProfiles(array $oneClickApplyProfiles) |
|
| 245 | + { |
|
| 246 | + $this->oneClickApplyProfiles = $oneClickApplyProfiles; |
|
| 247 | 247 | |
| 248 | - return $this; |
|
| 249 | - } |
|
| 248 | + return $this; |
|
| 249 | + } |
|
| 250 | 250 | } |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | ]; |
| 34 | 34 | |
| 35 | 35 | // do nothing for allowed routes |
| 36 | - if (in_array($routeName, $allowedRoutes)) |
|
| 36 | + if (in_array($routeName, $allowedRoutes)) |
|
| 37 | 37 | { |
| 38 | 38 | return; |
| 39 | 39 | } |
@@ -62,17 +62,17 @@ |
||
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | /** |
| 65 | - * @param array $statusOptions |
|
| 66 | - * @return UserStatusFieldset |
|
| 67 | - */ |
|
| 68 | - public function setStatusOptions(array $statusOptions) |
|
| 69 | - { |
|
| 70 | - $this->statusOptions = $statusOptions; |
|
| 65 | + * @param array $statusOptions |
|
| 66 | + * @return UserStatusFieldset |
|
| 67 | + */ |
|
| 68 | + public function setStatusOptions(array $statusOptions) |
|
| 69 | + { |
|
| 70 | + $this->statusOptions = $statusOptions; |
|
| 71 | 71 | |
| 72 | - return $this; |
|
| 73 | - } |
|
| 72 | + return $this; |
|
| 73 | + } |
|
| 74 | 74 | |
| 75 | - public function init() |
|
| 75 | + public function init() |
|
| 76 | 76 | { |
| 77 | 77 | $this->setName('status'); |
| 78 | 78 | |
@@ -84,9 +84,9 @@ |
||
| 84 | 84 | $imageStrategy = $infoContainer->getForm('info.image') |
| 85 | 85 | ->getHydrator() |
| 86 | 86 | ->getStrategy('image'); |
| 87 | - $fileEntity = $imageStrategy->getFileEntity(); |
|
| 88 | - $fileEntity->setUser($user); |
|
| 89 | - $imageStrategy->setFileEntity($fileEntity); |
|
| 87 | + $fileEntity = $imageStrategy->getFileEntity(); |
|
| 88 | + $fileEntity->setUser($user); |
|
| 89 | + $imageStrategy->setFileEntity($fileEntity); |
|
| 90 | 90 | |
| 91 | 91 | if ($this->request->isPost()) { |
| 92 | 92 | $formName = $params->fromQuery('form'); |
@@ -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 | } |