@@ -20,7 +20,7 @@ |
||
| 20 | 20 | public function init() |
| 21 | 21 | { |
| 22 | 22 | $this->setName('carboncopy') |
| 23 | - ->setLabel('Options'); |
|
| 23 | + ->setLabel('Options'); |
|
| 24 | 24 | |
| 25 | 25 | $this->add( |
| 26 | 26 | array( |
@@ -51,14 +51,14 @@ |
||
| 51 | 51 | $fileId = new \MongoId($file->id); |
| 52 | 52 | |
| 53 | 53 | $dm->createQueryBuilder('Applications\Entity\Application') |
| 54 | - ->update()->multiple(true) |
|
| 55 | - ->field('attachments')->equals($fileId)->pull($fileId) |
|
| 56 | - ->getQuery()->execute(); |
|
| 54 | + ->update()->multiple(true) |
|
| 55 | + ->field('attachments')->equals($fileId)->pull($fileId) |
|
| 56 | + ->getQuery()->execute(); |
|
| 57 | 57 | |
| 58 | 58 | |
| 59 | 59 | $dm->createQueryBuilder('Applications\Entity\Application') |
| 60 | - ->update()->multiple(true) |
|
| 61 | - ->field('contact.image')->equals($fileId)->set(null) |
|
| 62 | - ->getQuery()->execute(); |
|
| 60 | + ->update()->multiple(true) |
|
| 61 | + ->field('contact.image')->equals($fileId)->set(null) |
|
| 62 | + ->getQuery()->execute(); |
|
| 63 | 63 | } |
| 64 | 64 | } |
@@ -137,8 +137,8 @@ |
||
| 137 | 137 | $application->changeStatus( |
| 138 | 138 | Status::REJECTED, |
| 139 | 139 | sprintf( |
| 140 | - /*@translate */ 'Mail was sent to %s', |
|
| 141 | - $application->contact->email |
|
| 140 | + /*@translate */ 'Mail was sent to %s', |
|
| 141 | + $application->contact->email |
|
| 142 | 142 | ) |
| 143 | 143 | ); |
| 144 | 144 | $repositoryService->store($application); |
@@ -37,8 +37,8 @@ |
||
| 37 | 37 | $headscript->appendFile($basepath('Settings/js/forms.decfs.js')); |
| 38 | 38 | |
| 39 | 39 | return '<ul class="disable-elements-list" id="' . $element->getAttribute('id') . '-list"' . '>' |
| 40 | - . $this->renderCheckboxes($element->getCheckboxes()) |
|
| 41 | - . '</ul>'; |
|
| 40 | + . $this->renderCheckboxes($element->getCheckboxes()) |
|
| 41 | + . '</ul>'; |
|
| 42 | 42 | |
| 43 | 43 | } |
| 44 | 44 | |
@@ -211,14 +211,14 @@ |
||
| 211 | 211 | { |
| 212 | 212 | return $this->repository; |
| 213 | 213 | } |
| 214 | - /** |
|
| 215 | - * @param SocialProfilePlugin |
|
| 216 | - * @return HybridAuth |
|
| 217 | - */ |
|
| 218 | - public function setSocialProfilePlugin(SocialProfilePlugin $socialProfilePlugin) |
|
| 219 | - { |
|
| 220 | - $this->socialProfilePlugin = $socialProfilePlugin; |
|
| 214 | + /** |
|
| 215 | + * @param SocialProfilePlugin |
|
| 216 | + * @return HybridAuth |
|
| 217 | + */ |
|
| 218 | + public function setSocialProfilePlugin(SocialProfilePlugin $socialProfilePlugin) |
|
| 219 | + { |
|
| 220 | + $this->socialProfilePlugin = $socialProfilePlugin; |
|
| 221 | 221 | |
| 222 | - return $this; |
|
| 223 | - } |
|
| 222 | + return $this; |
|
| 223 | + } |
|
| 224 | 224 | } |
@@ -61,14 +61,14 @@ |
||
| 61 | 61 | return $this->useDefaultValidation ? \Zend\Form\Form::isValid() : parent::isValid(); |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | - /** |
|
| 65 | - * @param bool $bool |
|
| 66 | - * @return SocialProfiles |
|
| 67 | - */ |
|
| 68 | - public function setUseDefaultValidation($bool) |
|
| 69 | - { |
|
| 70 | - $this->useDefaultValidation = (bool)$bool; |
|
| 64 | + /** |
|
| 65 | + * @param bool $bool |
|
| 66 | + * @return SocialProfiles |
|
| 67 | + */ |
|
| 68 | + public function setUseDefaultValidation($bool) |
|
| 69 | + { |
|
| 70 | + $this->useDefaultValidation = (bool)$bool; |
|
| 71 | 71 | |
| 72 | - return $this; |
|
| 73 | - } |
|
| 72 | + return $this; |
|
| 73 | + } |
|
| 74 | 74 | } |
@@ -278,7 +278,7 @@ |
||
| 278 | 278 | /* @var \Core\Listener\DeferredListenerAggregate $aggregate */ |
| 279 | 279 | $aggregate = $services->get('Core/Listener/DeferredListenerAggregate'); |
| 280 | 280 | $aggregate->setListeners($lazyListeners) |
| 281 | - ->attach($eventManager); |
|
| 281 | + ->attach($eventManager); |
|
| 282 | 282 | } |
| 283 | 283 | } |
| 284 | 284 | |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | $params->set('by', 'me'); |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | - //default sorting |
|
| 43 | + //default sorting |
|
| 44 | 44 | if (!isset($params['sort'])) { |
| 45 | 45 | $params['sort']="-date"; |
| 46 | 46 | } |
@@ -239,7 +239,7 @@ discard block |
||
| 239 | 239 | ->getHybridAuth(); |
| 240 | 240 | /* @var $authProfile \Hybrid_User_Profile */ |
| 241 | 241 | $authProfile = $hybridAuth->authenticate($network) |
| 242 | - ->getUserProfile(); |
|
| 242 | + ->getUserProfile(); |
|
| 243 | 243 | |
| 244 | 244 | /* @var \Auth\Entity\SocialProfiles\AbstractProfile $profile */ |
| 245 | 245 | $profile = $this->plugin('Auth/SocialProfiles')->fetch($network); |
@@ -292,7 +292,7 @@ discard block |
||
| 292 | 292 | } |
| 293 | 293 | |
| 294 | 294 | return $this->redirect() |
| 295 | - ->toRoute('lang/apply', ['applyId' => $job->getApplyId()], $urlOptions); |
|
| 295 | + ->toRoute('lang/apply', ['applyId' => $job->getApplyId()], $urlOptions); |
|
| 296 | 296 | } |
| 297 | 297 | |
| 298 | 298 | public function processPreviewAction() |