MDL-30995 completion: switch one type & name for correctness
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 14 Mar 2012 17:14:36 +0000 (18:14 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 14 Mar 2012 17:14:36 +0000 (18:14 +0100)
lib/completionlib.php

index a5086f8..7094c0b 100644 (file)
@@ -467,7 +467,7 @@ class completion_info {
      * calling the involved module via modulename_get_completion_state() to check
      * module-specific conditions.
      *
-     * @param stdClass|cm $cm_info Course-module
+     * @param stdClass|cm_info $cm Course-module
      * @param int $possibleresult Expected completion result. If the event that
      *   has just occurred (e.g. add post) can only result in making the activity
      *   complete when it wasn't before, use COMPLETION_COMPLETE. If the event that
@@ -1318,4 +1318,4 @@ class completion_info {
         unset($SESSION->completioncache);
         unset($SESSION->completioncacheuserid);
     }
-}
\ No newline at end of file
+}