Skip to content

Commit

Permalink
MDL-44536 workshop: Fix missing phpDoc for user report callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrd8mz committed Oct 3, 2014
1 parent 6597413 commit 5c29cc6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mod/workshop/lib.php
Expand Up @@ -254,6 +254,10 @@ function workshop_delete_instance($id) {
* $return->time = the time they did it
* $return->info = a short text description
*
* @param stdClass $course The course record.
* @param stdClass $user The user record.
* @param cm_info|stdClass $mod The course module info object or record.
* @param stdClass $workshop The workshop instance record.
* @return stdclass|null
*/
function workshop_user_outline($course, $user, $mod, $workshop) {
Expand Down Expand Up @@ -293,6 +297,10 @@ function workshop_user_outline($course, $user, $mod, $workshop) {
* Print a detailed representation of what a user has done with
* a given particular instance of this module, for user activity reports.
*
* @param stdClass $course The course record.
* @param stdClass $user The user record.
* @param cm_info|stdClass $mod The course module info object or record.
* @param stdClass $workshop The workshop instance record.
* @return string HTML
*/
function workshop_user_complete($course, $user, $mod, $workshop) {
Expand Down

0 comments on commit 5c29cc6

Please sign in to comment.