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

Invalid @return declaration of core_component::normalize_component()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.4
    • 3.1.3
    • Documentation

      The docblock declares the return value of core_component::normalize_component() as

      @return array as (string)$type => (string)$plugin
      

      which is not correct as it suggest the plugin type is the key of the returned single item array. Instead, a list of two items numerically indexed is returned.

            mudrd8mz David Mudrák (@mudrd8mz)
            mudrd8mz David Mudrák (@mudrd8mz)
            Dan Poltawski Dan Poltawski
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.