Completed
Pull Request — develop (#509)
by ANTHONIUS
21:03
created
module/Cv/src/Entity/Cv.php 1 patch
Doc Comments   +8 added lines, -5 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
     }
187 187
     
188 188
     /**
189
-     * @return ArrayCollection
189
+     * @return IdentityWrapper
190 190
      */
191 191
     public function getEducationsIndexedById()
192 192
     {
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
     }
216 216
     
217 217
     /**
218
-     * @return ArrayCollection
218
+     * @return IdentityWrapper
219 219
      */
220 220
     public function getEmploymentsIndexedById()
221 221
     {
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
     }
245 245
     
246 246
     /**
247
-     * @return ArrayCollection
247
+     * @return IdentityWrapper
248 248
      */
249 249
     public function getSkillsIndexedById()
250 250
     {
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
     }
323 323
 
324 324
     /**
325
-     * @return ArrayCollection
325
+     * @return IdentityWrapper
326 326
      */
327 327
     public function getLanguageSkillsIndexedById()
328 328
     {
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
     }
361 361
     
362 362
     /**
363
-     * @param Status|string $status
363
+     * @param string $status
364 364
      */
365 365
     public function setStatus($status)
366 366
     {
@@ -407,6 +407,9 @@  discard block
 block discarded – undo
407 407
         }
408 408
     }
409 409
 
410
+    /**
411
+     * @param UserInterface $oldUser
412
+     */
410 413
     private function updatePermissions($oldUser = null)
411 414
     {
412 415
         $hasPermissions = (bool) $this->permissions;
Please login to merge, or discard this patch.
module/Cv/src/Options/ModuleOptions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
     /**
94 94
      * Gets the the maximum number of allowed attachments
95 95
      *
96
-     * @return string
96
+     * @return integer
97 97
      */
98 98
     public function getAttachmentsCount()
99 99
     {
Please login to merge, or discard this patch.
module/Cv/src/Repository/Cv.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      * Look for an drafted Document of a given user
23 23
      *
24 24
      * @param $user
25
-     * @return CvEntity|null
25
+     * @return \MongoCursor
26 26
      */
27 27
     public function findDraft($user)
28 28
     {
Please login to merge, or discard this patch.
module/Geo/src/Service/AbstractClient.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -38,6 +38,9 @@  discard block
 block discarded – undo
38 38
     protected $country;
39 39
 
40 40
 
41
+    /**
42
+     * @param string $uri
43
+     */
41 44
     public function __construct($uri, $country="DE", $cache = false)
42 45
     {
43 46
         $this->country = $country;
@@ -92,6 +95,9 @@  discard block
 block discarded – undo
92 95
         return isset($result[0]) ? $result[0] : false;
93 96
     }
94 97
 
98
+    /**
99
+     * @param string $result
100
+     */
95 101
     protected function processResult($result)
96 102
     {
97 103
         return $result;
Please login to merge, or discard this patch.
module/Jobs/src/Controller/ManageController.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -165,7 +165,6 @@  discard block
 block discarded – undo
165 165
      *
166 166
      * parameter are arbitrary elements for defaults or programming flow
167 167
      *
168
-     * @param array $parameter
169 168
      * @return null|ViewModel
170 169
      * @throws \RuntimeException
171 170
      */
@@ -388,7 +387,7 @@  discard block
 block discarded – undo
388 387
 
389 388
     /**
390 389
      * @param  $job \Jobs\Entity\Job
391
-     * @return mixed
390
+     * @return \Jobs\Form\Job
392 391
      */
393 392
     protected function getFormular($job)
394 393
     {
@@ -411,7 +410,7 @@  discard block
 block discarded – undo
411 410
     }
412 411
 
413 412
     /**
414
-     * @param $form
413
+     * @param \Jobs\Form\Job $form
415 414
      * @param array $params
416 415
      * @return ViewModel
417 416
      */
@@ -604,7 +603,7 @@  discard block
 block discarded – undo
604 603
     }
605 604
 
606 605
     /**
607
-     * @param $script
606
+     * @param string $script
608 607
      * @param array $parameter
609 608
      * @return ViewModel
610 609
      */
Please login to merge, or discard this patch.
module/Jobs/src/Entity/Decorator/JsonLdProvider.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -82,6 +82,7 @@
 block discarded – undo
82 82
      * Generates a location array
83 83
      *
84 84
      * @param Collection $locations,
85
+     * @param string $locations
85 86
      *
86 87
      * @return array
87 88
      */
Please login to merge, or discard this patch.
module/Jobs/src/Entity/History.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
module/Jobs/src/Entity/Job.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -536,7 +536,7 @@
 block discarded – undo
536 536
 
537 537
     /**
538 538
      * Gets the number of unread applications
539
-     * @return Collection
539
+     * @return integer
540 540
      */
541 541
     public function getUnreadApplications()
542 542
     {
Please login to merge, or discard this patch.
module/Jobs/src/Entity/JobInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -38,6 +38,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.