We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ea80f6 commit 08b1771Copy full SHA for 08b1771
classes/course_file.php
@@ -222,6 +222,7 @@ protected function get_file_download_url(): ?\moodle_url {
222
* @param bool $insertitemid
223
* @return \moodle_url
224
* @throws \moodle_exception
225
+ * @SuppressWarnings(PHPMD.BooleanArgumentFlag)
226
*/
227
protected function get_standard_file_download_url(bool $insertitemid = true): \moodle_url {
228
$url = '/pluginfile.php/' . $this->file->contextid . '/' . $this->file->component . '/' . $this->file->filearea;
classes/licences.php
@@ -50,6 +50,7 @@ class licences {
50
*
51
* @return string[]
52
* @throws coding_exception
53
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
54
55
public static function get_available_licenses(): array {
56
if (is_null(self::$licenses)) {
0 commit comments