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

Fix incorrect phpdocs in the old moodle functions

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.4
    • 4.4
    • Other

      IDE reports a lot of errors in the code about incorrect type of parameters where the parameters are actually correct but the phpdocs to the API functions are not.

      This really distracts from the actual errors that IDE reports. I would like to fix some of the incorrect phpdocs

      Another problem that is often reported - "constructor should not return anything", this is also a straightforward fix

        1. error_real.png
          error_real.png
          135 kB
        2. error1.png
          error1.png
          52 kB
        3. errors2.png
          errors2.png
          163 kB
        4. errors3.png
          errors3.png
          239 kB

            marina Marina Glancy
            marina Marina Glancy
            Luca Bösch Luca Bösch
            Andrew Lyons Andrew Lyons
            CiBoT CiBoT
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 45 minutes
                2h 45m

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