Skip to content

Commit 613f933

Browse files
committedApr 15, 2024
Merge branch 'MDL-80820' of https://github.com/marinaglancy/moodle
2 parents 8cf14f6 + 42c76b7 commit 613f933

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+246
-251
lines changed
 

‎auth/classes/output/verify_age_location_page.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
*/
4141
class verify_age_location_page implements renderable, templatable {
4242

43-
/** @var mform The form object */
43+
/** @var \moodleform The form object */
4444
protected $form;
4545

4646
/** @var string Error message */
@@ -49,7 +49,7 @@ class verify_age_location_page implements renderable, templatable {
4949
/**
5050
* Constructor
5151
*
52-
* @param mform $form The form object
52+
* @param \moodleform $form The form object
5353
* @param string $errormessage The error message.
5454
*/
5555
public function __construct($form, $errormessage = null) {
@@ -61,7 +61,7 @@ public function __construct($form, $errormessage = null) {
6161
* Export the page data for the mustache template.
6262
*
6363
* @param renderer_base $output renderer to be used to render the page elements.
64-
* @return stdClass
64+
* @return \stdClass
6565
*/
6666
public function export_for_template(renderer_base $output) {
6767
global $SITE;

‎comment/lib.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ public function output($return = true) {
543543
*
544544
* @param int $page
545545
* @param str $sortdirection sort direction, ASC or DESC
546-
* @return array
546+
* @return array|false
547547
*/
548548
public function get_comments($page = '', $sortdirection = 'DESC') {
549549
global $DB, $CFG, $USER, $OUTPUT;
@@ -956,7 +956,7 @@ public function print_comment($cmt, $nonjs = true) {
956956
/**
957957
* Revoke validate callbacks
958958
*
959-
* @param stdClass $params addtionall parameters need to add to callbacks
959+
* @param array $params addtionall parameters need to add to callbacks
960960
*/
961961
protected function validate($params=array()) {
962962
foreach ($params as $key=>$value) {
@@ -1074,7 +1074,7 @@ public function get_itemid() {
10741074
/**
10751075
* Returns the comment area associated with the commentarea
10761076
*
1077-
* @return stdClass
1077+
* @return string
10781078
*/
10791079
public function get_commentarea() {
10801080
return $this->commentarea;

0 commit comments

Comments
 (0)
Please sign in to comment.