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

Remove return type hinting from core\output\mustache_filesystem_loader::load

XMLWordPrintable

    • 1
    • HQ 2023 Sprint I3.1 Moppies

      The debug tool added in MDL-77182 can produce unexpected errors in third-party code because the original load method does not declare the return type while the new one does.

      This issue is about simply removing the ": string" at the end of the method so it will have the same contract as the original one.

        1. MDL-79147_testpage.php
          2 kB
          Ferran Recio
        2. MDL-79147.png
          311 kB
          Ron Carl Alfon Yu

            tusefomal Ferran Recio
            tusefomal Ferran Recio
            Tim Hunt Tim Hunt
            Andrew Lyons Andrew Lyons
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            1 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 27 minutes
                1h 27m

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