mirror of
https://github.com/moodle/moodle.git
synced 2025-04-19 07:25:30 +02:00
MDL-81525 mod_quiz: Add missing docs
This commit is contained in:
parent
ae48b9525a
commit
532be67b73
@ -36,7 +36,9 @@ class attempt_state_changed {
|
||||
* @param ?\stdClass $updatedattempt The updated database record of the new attempt, null if it has just been deleted.
|
||||
*/
|
||||
public function __construct(
|
||||
/** @var ?\stdClass The original database record for the attempt, null if it has just been created. */
|
||||
protected ?\stdClass $originalattempt,
|
||||
/** @var ?\stdClass The updated database record of the new attempt, null if it has just been deleted. */
|
||||
protected ?\stdClass $updatedattempt,
|
||||
) {
|
||||
if (is_null($this->originalattempt) && is_null($this->updatedattempt)) {
|
||||
|
@ -36,6 +36,7 @@ class structure_modified {
|
||||
* @param structure $structure The new structure.
|
||||
*/
|
||||
public function __construct(
|
||||
/** @var structure The new structure */
|
||||
protected structure $structure
|
||||
) {
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user