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

Wrong type hint for curl::$info property

XMLWordPrintable

      The $info property of the curl class in filelib.php is marked as a string variable but is actually an array. (It's set from curl_getinfo() with only one parameter, which returns an array, and is used as an array in code.)

      I know this is a small issue but it can be quite alarming when working with the curl class in an IDE

            maherne Michael Aherne
            maherne Michael Aherne
            Jake Dallimore Jake Dallimore
            Jun Pataleta Jun Pataleta
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 21 minutes
                21m

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