@@ -60,7 +60,7 @@ |
||
60 | 60 | foreach ($this->fileNames as $obj) { |
61 | 61 | if (is_string($obj)) { |
62 | 62 | if (array_key_exists($obj, $this->fileObjects)) { |
63 | - $erg[] = $this->fileObjects[$obj]; |
|
63 | + $erg[] = $this->fileObjects[$obj]; |
|
64 | 64 | } |
65 | 65 | } else { |
66 | 66 | $erg[] = $obj; |
@@ -22,7 +22,7 @@ |
||
22 | 22 | */ |
23 | 23 | public function __invoke($gender) |
24 | 24 | { |
25 | - $return=""; |
|
25 | + $return = ""; |
|
26 | 26 | switch ($gender) { |
27 | 27 | case "male": |
28 | 28 | $return = "Mr."; |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | */ |
34 | 34 | public function setName($name) |
35 | 35 | { |
36 | - $this->name=$name; |
|
36 | + $this->name = $name; |
|
37 | 37 | } |
38 | 38 | |
39 | 39 | /** |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | */ |
52 | 52 | public function setLevel($level) |
53 | 53 | { |
54 | - $this->level=$level; |
|
54 | + $this->level = $level; |
|
55 | 55 | } |
56 | 56 | |
57 | 57 | /** |
@@ -78,7 +78,7 @@ |
||
78 | 78 | */ |
79 | 79 | public function setCurrentIndicator($currentIndicator) |
80 | 80 | { |
81 | - $this->currentIndicator=$currentIndicator; |
|
81 | + $this->currentIndicator = $currentIndicator; |
|
82 | 82 | return $this; |
83 | 83 | } |
84 | 84 |
@@ -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 | } |
@@ -66,7 +66,7 @@ |
||
66 | 66 | 'role' => 'admin', |
67 | 67 | 'login' => $username, |
68 | 68 | 'credential' => $credential, |
69 | - 'info' => [ 'email' => $email ] |
|
69 | + 'info' => ['email' => $email] |
|
70 | 70 | ); |
71 | 71 | |
72 | 72 | $result = $collection->insert($document); |
@@ -21,7 +21,7 @@ |
||
21 | 21 | */ |
22 | 22 | class MongoDbConnectionString extends AbstractValidator |
23 | 23 | { |
24 | - const INVALID = 'invalidConnectionString'; |
|
24 | + const INVALID = 'invalidConnectionString'; |
|
25 | 25 | |
26 | 26 | /** |
27 | 27 | * Options |
@@ -26,8 +26,8 @@ |
||
26 | 26 | { |
27 | 27 | |
28 | 28 | protected $identifiers = array( |
29 | - 'Jobs/Acl/Assertions', |
|
30 | - 'Jobs/Acl/Assertion/Create', |
|
29 | + 'Jobs/Acl/Assertions', |
|
30 | + 'Jobs/Acl/Assertion/Create', |
|
31 | 31 | ); |
32 | 32 | |
33 | 33 | protected function preAssert( |
@@ -198,7 +198,7 @@ |
||
198 | 198 | * |
199 | 199 | * @return UserInterface $user |
200 | 200 | */ |
201 | - public function getUser() ; |
|
201 | + public function getUser(); |
|
202 | 202 | |
203 | 203 | /** |
204 | 204 | * Gets the link to the application form |
@@ -38,6 +38,7 @@ discard block |
||
38 | 38 | * Gets the unique key used by applications to reference a job posting |
39 | 39 | * |
40 | 40 | * @param string $applyId |
41 | + * @return JobInterface|null |
|
41 | 42 | */ |
42 | 43 | public function setApplyId($applyId); |
43 | 44 | |
@@ -93,6 +94,7 @@ discard block |
||
93 | 94 | * Sets an URI for a job posting |
94 | 95 | * |
95 | 96 | * @param string $link |
97 | + * @return Job |
|
96 | 98 | */ |
97 | 99 | public function setLink($link); |
98 | 100 | |
@@ -139,6 +141,7 @@ discard block |
||
139 | 141 | * Sets the title of a job posting |
140 | 142 | * |
141 | 143 | * @param string $title |
144 | + * @return JobInterface |
|
142 | 145 | */ |
143 | 146 | public function setTitle($title); |
144 | 147 | |
@@ -240,6 +243,7 @@ discard block |
||
240 | 243 | * Sets the language of a job posting |
241 | 244 | * |
242 | 245 | * @param string $language |
246 | + * @return Job |
|
243 | 247 | */ |
244 | 248 | public function setLanguage($language); |
245 | 249 | |
@@ -255,6 +259,7 @@ discard block |
||
255 | 259 | * Sets the location of a job posting |
256 | 260 | * |
257 | 261 | * @param string $location |
262 | + * @return Job |
|
258 | 263 | */ |
259 | 264 | public function setLocation($location); |
260 | 265 | |
@@ -269,6 +274,7 @@ discard block |
||
269 | 274 | * Sets locations of a job posting |
270 | 275 | * |
271 | 276 | * @param string $locations |
277 | + * @return Job |
|
272 | 278 | */ |
273 | 279 | public function setLocations($locations); |
274 | 280 | |
@@ -283,6 +289,7 @@ discard block |
||
283 | 289 | * Sets applications for a job posting |
284 | 290 | * |
285 | 291 | * @param Collection $applications |
292 | + * @return Job|null |
|
286 | 293 | */ |
287 | 294 | public function setApplications(Collection $applications); |
288 | 295 | |
@@ -297,6 +304,7 @@ discard block |
||
297 | 304 | * Sets Status of a job posting |
298 | 305 | * |
299 | 306 | * @param string $status |
307 | + * @return void |
|
300 | 308 | */ |
301 | 309 | public function setStatus($status); |
302 | 310 | |
@@ -342,6 +350,7 @@ discard block |
||
342 | 350 | * organisation offering the job. |
343 | 351 | * |
344 | 352 | * @param string $reference |
353 | + * @return Job |
|
345 | 354 | */ |
346 | 355 | public function setReference($reference); |
347 | 356 | |
@@ -357,6 +366,7 @@ discard block |
||
357 | 366 | * Sets the list of channels where a job opening should be published |
358 | 367 | * |
359 | 368 | * @param Array $portals |
369 | + * @return Job|null |
|
360 | 370 | */ |
361 | 371 | public function setPortals(array $portals); |
362 | 372 |
@@ -47,7 +47,7 @@ |
||
47 | 47 | ) |
48 | 48 | ); |
49 | 49 | |
50 | - $data['previewLink'] = $viewLink; |
|
50 | + $data['previewLink'] = $viewLink; |
|
51 | 51 | return $data; |
52 | 52 | } |
53 | 53 |
@@ -39,12 +39,12 @@ |
||
39 | 39 | $viewLink = $controllerPluginManager->get('url')->fromRoute( |
40 | 40 | 'lang/jobs/view', |
41 | 41 | array( |
42 | - ), |
|
42 | + ), |
|
43 | 43 | array( |
44 | - 'query' => array( |
|
45 | - 'id' => $data['id'], |
|
46 | - ) |
|
47 | - ) |
|
44 | + 'query' => array( |
|
45 | + 'id' => $data['id'], |
|
46 | + ) |
|
47 | + ) |
|
48 | 48 | ); |
49 | 49 | |
50 | 50 | $data['previewLink'] = $viewLink; |