@@ -392,7 +392,7 @@ |
||
392 | 392 | * Next approval step |
393 | 393 | * @param absences_CetDepositRequest $deposit |
394 | 394 | * @throws Exception |
395 | - * @return boolean |
|
395 | + * @return false|null |
|
396 | 396 | */ |
397 | 397 | function absences_confirmWaitingCetDepositSave(absences_CetDepositRequest $deposit) |
398 | 398 | { |
@@ -521,6 +521,10 @@ |
||
521 | 521 | } |
522 | 522 | |
523 | 523 | |
524 | + /** |
|
525 | + * @param string $extension |
|
526 | + * @param string $mime |
|
527 | + */ |
|
524 | 528 | private function setHeaders($extension, $mime) |
525 | 529 | { |
526 | 530 | $filename = mb_substr($this->from, 0, 10).'_'.mb_substr($this->to, 0, 10); |
@@ -39,6 +39,7 @@ discard block |
||
39 | 39 | /** |
40 | 40 | * Translate |
41 | 41 | * @param string $str |
42 | + * @param string $str_plurals |
|
42 | 43 | * @return string |
43 | 44 | */ |
44 | 45 | function absences_translate($str, $str_plurals = null, $number = null) |
@@ -199,6 +200,10 @@ discard block |
||
199 | 200 | } |
200 | 201 | |
201 | 202 | |
203 | +/** |
|
204 | + * @param string $type |
|
205 | + * @param string $label |
|
206 | + */ |
|
202 | 207 | function absences_addSpoofButton($type, $label) |
203 | 208 | { |
204 | 209 | |
@@ -220,6 +225,10 @@ discard block |
||
220 | 225 | |
221 | 226 | |
222 | 227 | |
228 | +/** |
|
229 | + * @param string $table |
|
230 | + * @param string $className |
|
231 | + */ |
|
223 | 232 | function absences_fixRequestLastMovement($table, $className) |
224 | 233 | { |
225 | 234 | global $babDB; |
@@ -232,6 +232,9 @@ |
||
232 | 232 | |
233 | 233 | |
234 | 234 | |
235 | +/** |
|
236 | + * @param integer $id |
|
237 | + */ |
|
235 | 238 | function absences_getPlanningValues($id) |
236 | 239 | { |
237 | 240 | require_once $GLOBALS['babInstallPath'].'admin/acl.php'; |
@@ -109,7 +109,7 @@ |
||
109 | 109 | |
110 | 110 | /** |
111 | 111 | * Get the list of rights |
112 | - * @return absences_Right[] |
|
112 | + * @return absences_RightIterator |
|
113 | 113 | */ |
114 | 114 | public function getRightIterator() |
115 | 115 | { |
@@ -1168,6 +1168,9 @@ discard block |
||
1168 | 1168 | |
1169 | 1169 | |
1170 | 1170 | |
1171 | + /** |
|
1172 | + * @param string $quantity_unit |
|
1173 | + */ |
|
1171 | 1174 | private function getRecoveryRgroup($quantity_unit) |
1172 | 1175 | { |
1173 | 1176 | global $babDB; |
@@ -1195,6 +1198,7 @@ discard block |
||
1195 | 1198 | * @parap string $description |
1196 | 1199 | * @param float $quantity |
1197 | 1200 | * @param string $quantity_unit D|H |
1201 | + * @param string $description |
|
1198 | 1202 | * |
1199 | 1203 | * @return int |
1200 | 1204 | */ |
@@ -501,6 +501,9 @@ discard block |
||
501 | 501 | public $invalidentry1; |
502 | 502 | public $invalidentry2; |
503 | 503 | |
504 | + /** |
|
505 | + * @param integer $id |
|
506 | + */ |
|
504 | 507 | public function __construct($id) |
505 | 508 | { |
506 | 509 | global $babDB; |
@@ -1003,6 +1006,9 @@ discard block |
||
1003 | 1006 | public $canuseprofiles = false; |
1004 | 1007 | |
1005 | 1008 | |
1009 | + /** |
|
1010 | + * @param boolean $idp |
|
1011 | + */ |
|
1006 | 1012 | public function __construct($idp) |
1007 | 1013 | { |
1008 | 1014 | require_once dirname(__FILE__).'/organization.class.php'; |
@@ -361,7 +361,7 @@ discard block |
||
361 | 361 | |
362 | 362 | /** |
363 | 363 | * Restant a deposer avant d'atteindre le max pour l'annee |
364 | - * @return number |
|
364 | + * @return null|double |
|
365 | 365 | */ |
366 | 366 | public function getYearlyMaxDeposit() |
367 | 367 | { |
@@ -389,7 +389,7 @@ discard block |
||
389 | 389 | |
390 | 390 | /** |
391 | 391 | * Restant a deposer avant d'atteindre le plafont total |
392 | - * @return number |
|
392 | + * @return null|double |
|
393 | 393 | */ |
394 | 394 | public function getMaxDepositTotal() |
395 | 395 | { |
@@ -199,6 +199,9 @@ |
||
199 | 199 | |
200 | 200 | |
201 | 201 | |
202 | + /** |
|
203 | + * @param double $value |
|
204 | + */ |
|
202 | 205 | protected function getSign($value) |
203 | 206 | { |
204 | 207 | if ($value >= 0) { |