@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | } |
| 140 | 140 | |
| 141 | 141 | /** |
| 142 | - * @return ArrayCollection |
|
| 142 | + * @return IdentityWrapper |
|
| 143 | 143 | */ |
| 144 | 144 | public function getEducationsIndexedById() |
| 145 | 145 | { |
@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | } |
| 169 | 169 | |
| 170 | 170 | /** |
| 171 | - * @return ArrayCollection |
|
| 171 | + * @return IdentityWrapper |
|
| 172 | 172 | */ |
| 173 | 173 | public function getEmploymentsIndexedById() |
| 174 | 174 | { |
@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | } |
| 198 | 198 | |
| 199 | 199 | /** |
| 200 | - * @return ArrayCollection |
|
| 200 | + * @return IdentityWrapper |
|
| 201 | 201 | */ |
| 202 | 202 | public function getSkillsIndexedById() |
| 203 | 203 | { |
@@ -261,7 +261,6 @@ discard block |
||
| 261 | 261 | } |
| 262 | 262 | |
| 263 | 263 | /** |
| 264 | - * @param CollectionInterface $skills |
|
| 265 | 264 | * @return $this |
| 266 | 265 | */ |
| 267 | 266 | public function setLanguageSkills(CollectionInterface $languageSkills) |
@@ -270,7 +269,7 @@ discard block |
||
| 270 | 269 | return $this; |
| 271 | 270 | } |
| 272 | 271 | /** |
| 273 | - * @return ArrayCollection |
|
| 272 | + * @return IdentityWrapper |
|
| 274 | 273 | */ |
| 275 | 274 | public function getLanguageSkillsIndexedById() |
| 276 | 275 | { |
@@ -60,11 +60,11 @@ |
||
| 60 | 60 | protected $skills; |
| 61 | 61 | |
| 62 | 62 | /** |
| 63 | - * Skills |
|
| 64 | - * |
|
| 65 | - * @var ArrayCollection |
|
| 66 | - * @ODM\EmbedMany(targetDocument="\Cv\Entity\Language") |
|
| 67 | - */ |
|
| 63 | + * Skills |
|
| 64 | + * |
|
| 65 | + * @var ArrayCollection |
|
| 66 | + * @ODM\EmbedMany(targetDocument="\Cv\Entity\Language") |
|
| 67 | + */ |
|
| 68 | 68 | protected $languageSkills; |
| 69 | 69 | |
| 70 | 70 | /** |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | * @var array |
| 72 | 72 | * @ODM\Collection |
| 73 | 73 | */ |
| 74 | - protected $nativeLanguages=[]; |
|
| 74 | + protected $nativeLanguages = []; |
|
| 75 | 75 | |
| 76 | 76 | |
| 77 | 77 | /** |
@@ -216,7 +216,7 @@ discard block |
||
| 216 | 216 | |
| 217 | 217 | public function setIsDraft($isDraft) |
| 218 | 218 | { |
| 219 | - $this->isDraft=$isDraft; |
|
| 219 | + $this->isDraft = $isDraft; |
|
| 220 | 220 | return $this; |
| 221 | 221 | } |
| 222 | 222 | |
@@ -284,7 +284,7 @@ discard block |
||
| 284 | 284 | */ |
| 285 | 285 | public function setNativeLanguages($nativeLanguages) |
| 286 | 286 | { |
| 287 | - $this->nativeLanguages=$nativeLanguages; |
|
| 287 | + $this->nativeLanguages = $nativeLanguages; |
|
| 288 | 288 | return $this; |
| 289 | 289 | } |
| 290 | 290 | |
@@ -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 | } |
@@ -32,9 +32,9 @@ |
||
| 32 | 32 | public function init() |
| 33 | 33 | { |
| 34 | 34 | $this->setName('preferredJob') |
| 35 | - ->setHydrator(new EntityHydrator()) |
|
| 36 | - ->setObject(new PreferredJob()) |
|
| 37 | - ->setLabel('Desired Employment'); |
|
| 35 | + ->setHydrator(new EntityHydrator()) |
|
| 36 | + ->setObject(new PreferredJob()) |
|
| 37 | + ->setLabel('Desired Employment'); |
|
| 38 | 38 | |
| 39 | 39 | $this->add( |
| 40 | 40 | array( |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | |
| 12 | 12 | public function init() |
| 13 | 13 | { |
| 14 | - // $this->setDescription(/*@translate*/' Where do you want to work tomorrow. This heading gives an immediate overview of your desired next job.'); |
|
| 14 | + // $this->setDescription(/*@translate*/' Where do you want to work tomorrow. This heading gives an immediate overview of your desired next job.'); |
|
| 15 | 15 | $this->setIsDescriptionsEnabled(true); |
| 16 | 16 | parent::init(); |
| 17 | 17 | } |
@@ -124,9 +124,9 @@ |
||
| 124 | 124 | public function init() |
| 125 | 125 | { |
| 126 | 126 | $this->setName('nativeLanguages') |
| 127 | - ->setHydrator(new EntityHydrator()) |
|
| 128 | - ->setObject(new NativeLanguageEntity()) |
|
| 129 | - ->setLabel('Native Language'); |
|
| 127 | + ->setHydrator(new EntityHydrator()) |
|
| 128 | + ->setObject(new NativeLanguageEntity()) |
|
| 129 | + ->setLabel('Native Language'); |
|
| 130 | 130 | |
| 131 | 131 | |
| 132 | 132 | $this->add( |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | */ |
| 65 | 65 | public function setTypeOfApplication($typeOfApplication) |
| 66 | 66 | { |
| 67 | - $this->typeOfApplication=$typeOfApplication; |
|
| 67 | + $this->typeOfApplication = $typeOfApplication; |
|
| 68 | 68 | return $this; |
| 69 | 69 | } |
| 70 | 70 | |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | |
| 81 | 81 | public function setDesiredJob($desiredJob) |
| 82 | 82 | { |
| 83 | - $this->desiredJob=$desiredJob; |
|
| 83 | + $this->desiredJob = $desiredJob; |
|
| 84 | 84 | return $this; |
| 85 | 85 | } |
| 86 | 86 | |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | |
| 92 | 92 | public function setDesiredLocation($desiredLocation) |
| 93 | 93 | { |
| 94 | - $this->desiredLocation=$desiredLocation; |
|
| 94 | + $this->desiredLocation = $desiredLocation; |
|
| 95 | 95 | return $this; |
| 96 | 96 | } |
| 97 | 97 | |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | |
| 103 | 103 | public function setDesiredLocations($desiredLocations) |
| 104 | 104 | { |
| 105 | - $this->desiredLocation=$desiredLocations; |
|
| 105 | + $this->desiredLocation = $desiredLocations; |
|
| 106 | 106 | return $this; |
| 107 | 107 | } |
| 108 | 108 | |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | |
| 114 | 114 | public function setWillingnessToTravel($willingnessToTravel) |
| 115 | 115 | { |
| 116 | - $this->willingnessToTravel=$willingnessToTravel; |
|
| 116 | + $this->willingnessToTravel = $willingnessToTravel; |
|
| 117 | 117 | return $this; |
| 118 | 118 | } |
| 119 | 119 | |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | |
| 125 | 125 | public function setExpectedSalary($expectedSalary) |
| 126 | 126 | { |
| 127 | - $this->expectedSalary=$expectedSalary; |
|
| 127 | + $this->expectedSalary = $expectedSalary; |
|
| 128 | 128 | return $this; |
| 129 | 129 | } |
| 130 | 130 | |
@@ -46,4 +46,4 @@ |
||
| 46 | 46 | public function setExpectedSalary($expectedSalary); |
| 47 | 47 | |
| 48 | 48 | public function getExpectedSalary(); |
| 49 | - } |
|
| 49 | + } |
|