Skip to content

Commit

Permalink
linting: phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
semteacher committed Jun 5, 2024
1 parent 474a2d3 commit ed4de92
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions classes/external/addbookingoption.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,18 +185,18 @@ public static function execute_parameters(): external_function_parameters {
* @param int|null $removeafterminutes
* @param string|null $notifcationtext
* @param int|null $notifcationtextformat
* @param int $disablebookingusers
* @param int|null $disablebookingusers
* @param string|null $beforebookedtext
* @param string|null $beforecompletedtext
* @param string|null $aftercompletedtext
* @param string|null $shorturl
* @param int $duration
* @param int|null $duration
* @param string|null $useremail
* @param string|null $teacheremail
* @param string|null $userusername
* @param string|null $coursestarttime
* @param string|null $courseendtime
* @param int $invisible
* @param int|null $invisible
* @param string|null $responsiblecontact
* @param string|null $boavenrolledincourse
* @param string|null $recommendedin
Expand Down
3 changes: 2 additions & 1 deletion classes/message_controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,14 @@ class message_controller {

/**
* Constructor
*
* @param int $msgcontrparam message controller param (send now | queue adhoc)
* @param int $messageparam the message type
* @param int $cmid course module id
* @param int $optionid option id
* @param int $userid user id
* @param ?int $bookingid booking id
* @param ?int|null $optiondateid optional id of a specific session (optiondate)
* @param ?int $optiondateid optional id of a specific session (optiondate)
* @param ?array $changes array of changes for change notifications
* @param string $customsubject subject of custom messages
* @param string $custommessage body of custom messages
Expand Down
3 changes: 2 additions & 1 deletion classes/signinsheet/signinsheet_generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,9 @@ class signinsheet_generator {
/**
* Define basic variable values for signinsheet pdf
*
* @param ?\mod_booking\booking_option $bookingoption
* @param \stdClass $pdfoptions
* @param ?\mod_booking\booking_option $bookingoption
*
*/
public function __construct(\stdClass $pdfoptions, ?\mod_booking\booking_option $bookingoption = null) {

Expand Down

0 comments on commit ed4de92

Please sign in to comment.