@@ -41,6 +41,9 @@ discard block |
||
41 | 41 | */ |
42 | 42 | protected $message; |
43 | 43 | |
44 | + /** |
|
45 | + * @param StatusInterface|null $status |
|
46 | + */ |
|
44 | 47 | public function __construct($status, $message = '[System]') |
45 | 48 | { |
46 | 49 | if (!$status instanceof StatusInterface) { |
@@ -116,7 +119,7 @@ discard block |
||
116 | 119 | /** |
117 | 120 | * Sets the history message |
118 | 121 | * |
119 | - * @param $message |
|
122 | + * @param string $message |
|
120 | 123 | * |
121 | 124 | * @return $this |
122 | 125 | */ |
@@ -20,7 +20,7 @@ |
||
20 | 20 | * Set the View object |
21 | 21 | * |
22 | 22 | * @param Renderer $view |
23 | - * @return AbstractHelper |
|
23 | + * @return AbstractEventsHelper |
|
24 | 24 | */ |
25 | 25 | public function setView(Renderer $view) |
26 | 26 | { |
@@ -24,8 +24,8 @@ |
||
24 | 24 | public function init() |
25 | 25 | { |
26 | 26 | $this->setName('education') |
27 | - ->setHydrator(new EntityHydrator()) |
|
28 | - ->setObject(new EducationEntity()); |
|
27 | + ->setHydrator(new EntityHydrator()) |
|
28 | + ->setObject(new EducationEntity()); |
|
29 | 29 | |
30 | 30 | $this->add( |
31 | 31 | array( |
@@ -52,8 +52,8 @@ |
||
52 | 52 | public function init() |
53 | 53 | { |
54 | 54 | $this->setName('preferredJob') |
55 | - ->setHydrator(new EntityHydrator()) |
|
56 | - ->setObject(new PreferredJob()); |
|
55 | + ->setHydrator(new EntityHydrator()) |
|
56 | + ->setObject(new PreferredJob()); |
|
57 | 57 | |
58 | 58 | $this->add( |
59 | 59 | array( |
@@ -13,7 +13,7 @@ |
||
13 | 13 | |
14 | 14 | use EmptySummaryAwareTrait; |
15 | 15 | |
16 | - private $defaultEmptySummaryNotice = /*@translate*/ 'Click here to enter your employment expectation'; |
|
16 | + private $defaultEmptySummaryNotice = /*@translate*/ 'Click here to enter your employment expectation'; |
|
17 | 17 | |
18 | 18 | /** |
19 | 19 | * Type of Application Options |
@@ -26,7 +26,7 @@ |
||
26 | 26 | protected $locationEngineType; |
27 | 27 | |
28 | 28 | /** |
29 | - * @param $locationEngineType |
|
29 | + * @param string $locationEngineType |
|
30 | 30 | */ |
31 | 31 | public function setLocationEngineType($locationEngineType) { |
32 | 32 | $this->locationEngineType = $locationEngineType; |
@@ -26,7 +26,7 @@ |
||
26 | 26 | { |
27 | 27 | $this->add([ |
28 | 28 | 'name' => 'endDate', |
29 | - 'required' => ! $data['currentIndicator'] |
|
29 | + 'required' => !$data['currentIndicator'] |
|
30 | 30 | ]); |
31 | 31 | |
32 | 32 | return parent::setData($data); |
@@ -24,8 +24,8 @@ |
||
24 | 24 | public function init() |
25 | 25 | { |
26 | 26 | $this->setName('employment') |
27 | - ->setHydrator(new EntityHydrator()) |
|
28 | - ->setObject(new EmploymentEntity()); |
|
27 | + ->setHydrator(new EntityHydrator()) |
|
28 | + ->setObject(new EmploymentEntity()); |
|
29 | 29 | |
30 | 30 | $this->add( |
31 | 31 | array( |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | * for multiple paths. |
16 | 16 | * example https://github.com/doctrine/DoctrineORMModule |
17 | 17 | */ |
18 | - 'paths' => array( __DIR__ . '/../src/Cv/Entity'), |
|
18 | + 'paths' => array(__DIR__.'/../src/Cv/Entity'), |
|
19 | 19 | ), |
20 | 20 | ), |
21 | 21 | 'eventmanager' => array( |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | 'translation_file_patterns' => array( |
37 | 37 | array( |
38 | 38 | 'type' => 'gettext', |
39 | - 'base_dir' => __DIR__ . '/../language', |
|
39 | + 'base_dir' => __DIR__.'/../language', |
|
40 | 40 | 'pattern' => '%s.mo', |
41 | 41 | ), |
42 | 42 | ), |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | 'resume-recruiter' => array( |
167 | 167 | 'label' => /*@translate*/ 'Talent-Pool', |
168 | 168 | 'route' => 'lang/cvs', |
169 | - 'active_on' => [ 'lang/cvs/edit', 'lang/cvs/view' ], |
|
169 | + 'active_on' => ['lang/cvs/edit', 'lang/cvs/view'], |
|
170 | 170 | 'resource' => 'navigation/resume-recruiter', |
171 | 171 | 'order' => 10, |
172 | 172 | 'pages' => array( |
@@ -194,15 +194,15 @@ discard block |
||
194 | 194 | |
195 | 195 | // Map template to files. Speeds up the lookup through the template stack. |
196 | 196 | 'template_map' => array( |
197 | - 'cv/form/employment.view' => __DIR__ . '/../view/cv/form/employment.view.phtml', |
|
198 | - 'cv/form/employment.form' => __DIR__ . '/../view/cv/form/employment.form.phtml', |
|
199 | - 'cv/form/education.view' => __DIR__ . '/../view/cv/form/education.view.phtml', |
|
200 | - 'cv/form/education.form' => __DIR__ . '/../view/cv/form/education.form.phtml' |
|
197 | + 'cv/form/employment.view' => __DIR__.'/../view/cv/form/employment.view.phtml', |
|
198 | + 'cv/form/employment.form' => __DIR__.'/../view/cv/form/employment.form.phtml', |
|
199 | + 'cv/form/education.view' => __DIR__.'/../view/cv/form/education.view.phtml', |
|
200 | + 'cv/form/education.form' => __DIR__.'/../view/cv/form/education.form.phtml' |
|
201 | 201 | ), |
202 | 202 | |
203 | 203 | // Where to look for view templates not mapped above |
204 | 204 | 'template_path_stack' => array( |
205 | - __DIR__ . '/../view', |
|
205 | + __DIR__.'/../view', |
|
206 | 206 | ), |
207 | 207 | ), |
208 | 208 |
@@ -26,7 +26,7 @@ |
||
26 | 26 | { |
27 | 27 | $this->add([ |
28 | 28 | 'name' => 'endDate', |
29 | - 'required' => ! $data['currentIndicator'] |
|
29 | + 'required' => !$data['currentIndicator'] |
|
30 | 30 | ]); |
31 | 31 | |
32 | 32 | return parent::setData($data); |
@@ -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 | } |