Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-69933

Profilefield library has phpdoc with incorrect return type

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.2
    • Fix Version/s: None
    • Component/s: Libraries
    • Labels:
    • Affected Branches:
      MOODLE_39_STABLE

      Description

      The profilefield library has a phpdoc with an incorrect return type. It states that it should return a string, but actually needs to return an array. 

      https://github.com/moodle/moodle/blob/11b094be4c8c6b58a745149fd0006a3f198b2e86/user/profile/lib.php#L209

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            davidpesce David Pesce
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: