@@ -20,29 +20,29 @@ discard block |
||
| 20 | 20 | public function getIdentifier(); |
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | - * @return mixed |
|
| 23 | + * @return string |
|
| 24 | 24 | */ |
| 25 | 25 | public function getLabel(); |
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | - * @return mixed |
|
| 28 | + * @return string |
|
| 29 | 29 | */ |
| 30 | 30 | public function getRoute(); |
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | - * @return mixed |
|
| 33 | + * @return boolean |
|
| 34 | 34 | */ |
| 35 | 35 | public function isActive(); |
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | - * @param $isActive |
|
| 38 | + * @param boolean $isActive |
|
| 39 | 39 | * |
| 40 | - * @return mixed |
|
| 40 | + * @return MenuItemModel |
|
| 41 | 41 | */ |
| 42 | 42 | public function setIsActive($isActive); |
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | - * @return mixed |
|
| 45 | + * @return boolean |
|
| 46 | 46 | */ |
| 47 | 47 | public function hasChildren(); |
| 48 | 48 | |
@@ -54,14 +54,14 @@ discard block |
||
| 54 | 54 | /** |
| 55 | 55 | * @param MenuItemInterface $child |
| 56 | 56 | * |
| 57 | - * @return mixed |
|
| 57 | + * @return MenuItemModel |
|
| 58 | 58 | */ |
| 59 | 59 | public function addChild(MenuItemInterface $child); |
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | 62 | * @param MenuItemInterface $child |
| 63 | 63 | * |
| 64 | - * @return mixed |
|
| 64 | + * @return MenuItemModel |
|
| 65 | 65 | */ |
| 66 | 66 | public function removeChild(MenuItemInterface $child); |
| 67 | 67 | |
@@ -76,24 +76,24 @@ discard block |
||
| 76 | 76 | public function getBadge(); |
| 77 | 77 | |
| 78 | 78 | /** |
| 79 | - * @return mixed |
|
| 79 | + * @return string |
|
| 80 | 80 | */ |
| 81 | 81 | public function getBadgeColor(); |
| 82 | 82 | |
| 83 | 83 | /** |
| 84 | - * @return mixed |
|
| 84 | + * @return MenuItemInterface |
|
| 85 | 85 | */ |
| 86 | 86 | public function getParent(); |
| 87 | 87 | |
| 88 | 88 | /** |
| 89 | - * @return mixed |
|
| 89 | + * @return boolean |
|
| 90 | 90 | */ |
| 91 | 91 | public function hasParent(); |
| 92 | 92 | |
| 93 | 93 | /** |
| 94 | 94 | * @param MenuItemInterface $parent |
| 95 | 95 | * |
| 96 | - * @return mixed |
|
| 96 | + * @return MenuItemModel |
|
| 97 | 97 | */ |
| 98 | 98 | public function setParent(MenuItemInterface $parent = null); |
| 99 | 99 | |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | require_once api_get_path(SYS_PATH) . 'main/auth/external_login/functions.inc.php'; |
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | - * @return true if cas is configured |
|
| 13 | + * @return boolean if cas is configured |
|
| 14 | 14 | * |
| 15 | 15 | **/ |
| 16 | 16 | function cas_configured() |
@@ -523,7 +523,7 @@ discard block |
||
| 523 | 523 | /** |
| 524 | 524 | * Logs a string in debug mode. |
| 525 | 525 | * |
| 526 | - * @param $str the string to write |
|
| 526 | + * @param string $str the string to write |
|
| 527 | 527 | * |
| 528 | 528 | * @private |
| 529 | 529 | */ |
@@ -545,7 +545,7 @@ discard block |
||
| 545 | 545 | * This method is used by interface methods to print an error and where the function |
| 546 | 546 | * was originally called from. |
| 547 | 547 | * |
| 548 | - * @param $msg the message to print |
|
| 548 | + * @param string $msg the message to print |
|
| 549 | 549 | * |
| 550 | 550 | * @private |
| 551 | 551 | */ |
@@ -678,7 +678,7 @@ discard block |
||
| 678 | 678 | /** |
| 679 | 679 | * This method returns the phpCAS version. |
| 680 | 680 | * |
| 681 | - * @return the phpCAS version. |
|
| 681 | + * @return string phpCAS version. |
|
| 682 | 682 | */ |
| 683 | 683 | function getVersion() |
| 684 | 684 | {
|
@@ -1105,7 +1105,7 @@ discard block |
||
| 1105 | 1105 | * @warning should not be called only after phpCAS::forceAuthentication() |
| 1106 | 1106 | * or phpCAS::checkAuthentication(). |
| 1107 | 1107 | * |
| 1108 | - * @return the login name of the authenticated user |
|
| 1108 | + * @return string login name of the authenticated user |
|
| 1109 | 1109 | */ |
| 1110 | 1110 | function getUser() |
| 1111 | 1111 | {
|
@@ -33,6 +33,7 @@ discard block |
||
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * |
| 36 | + * @param ShibbolethUser $data |
|
| 36 | 37 | * @return User |
| 37 | 38 | */ |
| 38 | 39 | public static function create($data = null) |
@@ -133,6 +134,7 @@ discard block |
||
| 133 | 134 | |
| 134 | 135 | /** |
| 135 | 136 | * |
| 137 | + * @param string $value |
|
| 136 | 138 | * @return User |
| 137 | 139 | */ |
| 138 | 140 | public function get_by_user_id($value) |
@@ -169,6 +171,7 @@ discard block |
||
| 169 | 171 | |
| 170 | 172 | /** |
| 171 | 173 | * |
| 174 | + * @param string $value |
|
| 172 | 175 | * @return bool |
| 173 | 176 | */ |
| 174 | 177 | public function username_exists($value) |
@@ -267,7 +267,7 @@ |
||
| 267 | 267 | * @param string $author |
| 268 | 268 | * @param string $filename |
| 269 | 269 | * @param int $filesize |
| 270 | - * @param array $recipient_ids |
|
| 270 | + * @param unknown_type|null $recipient_ids |
|
| 271 | 271 | */ |
| 272 | 272 | public function _createNewSentWork($uploader_id, $title, $description, $author, $filename, $filesize, $recipient_ids) |
| 273 | 273 | { |
@@ -25,6 +25,7 @@ discard block |
||
| 25 | 25 | * @param int $questionId Question ID |
| 26 | 26 | * @param int $resultsDisabled |
| 27 | 27 | * @param string $originalStudentAnswer |
| 28 | + * @param boolean $showTotalScoreAndUserChoices |
|
| 28 | 29 | * |
| 29 | 30 | * @return void |
| 30 | 31 | */ |
@@ -71,6 +72,11 @@ discard block |
||
| 71 | 72 | * @param string Answer text |
| 72 | 73 | * @param int Exercise ID |
| 73 | 74 | * @param int Question ID |
| 75 | + * @param integer $feedback_type |
|
| 76 | + * @param string $answer |
|
| 77 | + * @param integer $id |
|
| 78 | + * @param integer $questionId |
|
| 79 | + * @param boolean|string $showTotalScoreAndUserChoices |
|
| 74 | 80 | * @return void |
| 75 | 81 | */ |
| 76 | 82 | public static function display_calculated_answer( |
@@ -110,6 +116,9 @@ discard block |
||
| 110 | 116 | * @param string Answer text |
| 111 | 117 | * @param int Exercise ID |
| 112 | 118 | * @param int Question ID |
| 119 | + * @param integer $feedback_type |
|
| 120 | + * @param integer $exe_id |
|
| 121 | + * @param integer $questionId |
|
| 113 | 122 | * @return void |
| 114 | 123 | */ |
| 115 | 124 | public static function display_free_answer( |
@@ -139,11 +148,10 @@ discard block |
||
| 139 | 148 | } |
| 140 | 149 | |
| 141 | 150 | /** |
| 142 | - * @param $feedback_type |
|
| 151 | + * @param integer $feedback_type |
|
| 143 | 152 | * @param $answer |
| 144 | - * @param $id |
|
| 145 | - * @param $questionId |
|
| 146 | - * @param null $nano |
|
| 153 | + * @param integer $id |
|
| 154 | + * @param integer $questionId |
|
| 147 | 155 | * @param int $results_disabled |
| 148 | 156 | */ |
| 149 | 157 | public static function display_oral_expression_answer($feedback_type, $answer, $id, $questionId, $fileUrl = null, $results_disabled = 0) |
@@ -193,6 +201,7 @@ discard block |
||
| 193 | 201 | * @param string $answerComment |
| 194 | 202 | * @param int $resultsDisabled |
| 195 | 203 | * @param int $orderColor |
| 204 | + * @param boolean $showTotalScoreAndUserChoices |
|
| 196 | 205 | */ |
| 197 | 206 | public static function display_hotspot_answer( |
| 198 | 207 | $feedback_type, |
@@ -277,6 +286,13 @@ discard block |
||
| 277 | 286 | * @param integer Exercise ID |
| 278 | 287 | * @param integer Question ID |
| 279 | 288 | * @param boolean Whether to show the answer comment or not |
| 289 | + * @param integer $answerType |
|
| 290 | + * @param string $answer |
|
| 291 | + * @param string $answerComment |
|
| 292 | + * @param integer $answerCorrect |
|
| 293 | + * @param integer $id |
|
| 294 | + * @param integer $questionId |
|
| 295 | + * @param boolean $showTotalScoreAndUserChoices |
|
| 280 | 296 | * @return void |
| 281 | 297 | */ |
| 282 | 298 | public static function display_unique_or_multiple_answer( |
@@ -373,6 +389,14 @@ discard block |
||
| 373 | 389 | * @param integer Exercise ID |
| 374 | 390 | * @param integer Question ID |
| 375 | 391 | * @param boolean Whether to show the answer comment or not |
| 392 | + * @param integer $feedback_type |
|
| 393 | + * @param integer $answerType |
|
| 394 | + * @param string $answer |
|
| 395 | + * @param string $answerComment |
|
| 396 | + * @param integer $answerCorrect |
|
| 397 | + * @param integer $id |
|
| 398 | + * @param integer $questionId |
|
| 399 | + * @param boolean $showTotalScoreAndUserChoices |
|
| 376 | 400 | * @return void |
| 377 | 401 | */ |
| 378 | 402 | public static function display_multiple_answer_true_false( |
@@ -477,6 +501,14 @@ discard block |
||
| 477 | 501 | * @param integer Exercise ID |
| 478 | 502 | * @param integer Question ID |
| 479 | 503 | * @param boolean Whether to show the answer comment or not |
| 504 | + * @param integer $feedback_type |
|
| 505 | + * @param integer $answerType |
|
| 506 | + * @param string $answer |
|
| 507 | + * @param string $answerComment |
|
| 508 | + * @param integer $answerCorrect |
|
| 509 | + * @param integer $id |
|
| 510 | + * @param integer $questionId |
|
| 511 | + * @param boolean $showTotalScoreAndUserChoices |
|
| 480 | 512 | * @return void |
| 481 | 513 | */ |
| 482 | 514 | public static function display_multiple_answer_combination_true_false( |
@@ -314,7 +314,7 @@ |
||
| 314 | 314 | * Set votes |
| 315 | 315 | * |
| 316 | 316 | * @param integer $votes |
| 317 | - * @return integer |
|
| 317 | + * @return Message |
|
| 318 | 318 | */ |
| 319 | 319 | public function setVotes($votes) |
| 320 | 320 | { |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | |
| 117 | 117 | /** |
| 118 | 118 | * Create folders |
| 119 | - * @param array $folderList |
|
| 119 | + * @param string[] $folderList |
|
| 120 | 120 | * @param OutputInterface $output |
| 121 | 121 | * @param string $folderPermissions |
| 122 | 122 | */ |
@@ -200,7 +200,7 @@ discard block |
||
| 200 | 200 | * http://chamilo/courses/ABC/document/file.jpg |
| 201 | 201 | * @param string $content |
| 202 | 202 | * |
| 203 | - * @return string |
|
| 203 | + * @return \simplehtmldom_1_5\simple_html_dom |
|
| 204 | 204 | */ |
| 205 | 205 | public function convertRelativeToAbsoluteUrl($content) |
| 206 | 206 | { |
@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | |
| 198 | 198 | /** |
| 199 | 199 | * Get user |
| 200 | - * @return \User |
|
| 200 | + * @return User |
|
| 201 | 201 | */ |
| 202 | 202 | public function getUser() |
| 203 | 203 | { |
@@ -512,7 +512,7 @@ discard block |
||
| 512 | 512 | |
| 513 | 513 | /** |
| 514 | 514 | * Calculate the average value from the feedback comments |
| 515 | - * @return int |
|
| 515 | + * @return string |
|
| 516 | 516 | */ |
| 517 | 517 | public function getAverage() |
| 518 | 518 | { |