Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-5230

cibot: possibly incorrectly reports 'has incomplete parameters list'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: Integration
    • Labels:
      None

      Description

      An example in this one:

      https://integration.moodle.org/job/Precheck%20remote%20branch/42505/artifact/work/smurf.html#phpdoc

      It says:

      message/classes/search/base_message.php(#138) Phpdocs for function base_message::get_document_recordset_helper has incomplete parameters list

      In case it stops working, the code at the link is:

          /**
           * Helper function to implement get_document_recordset for subclasses.
           *
           * @param int $modifiedfrom Modified from date
           * @param \context|null $context Context or null
           * @param string $userfield Name of user field (from or to) being considered
           * @return \moodle_recordset|null Recordset or null if no results possible
           * @throws \coding_exception If context invalid
           */
          protected function get_document_recordset_helper($modifiedfrom, \context $context = null,
                  $userfield) {

      I can't see anything wrong with my parameter list. Eloy suggests it might be a bug to do with handling of \ or | characters?

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: