diff --git a/lib/completionlib.php b/lib/completionlib.php
index <HASH>..<HASH> 100644
--- a/lib/completionlib.php
+++ b/lib/completionlib.php
@@ -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
+}
MDL-<I> completion: switch one type & name for correctness