From 62306cdf3dfbe5b8bc95efccfe170a862b98ad70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Dagef=C3=B6rde?= Date: Wed, 12 Apr 2017 20:36:49 +0200 Subject: [PATCH] MDL-58582 theme: Improve PHPDoc comment on SVG image resolution --- lib/outputlib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/outputlib.php b/lib/outputlib.php index 86ee87c3a05..77ee70ea0e0 100644 --- a/lib/outputlib.php +++ b/lib/outputlib.php @@ -1825,7 +1825,8 @@ class theme_config { * * @param string $image name of image, may contain relative path * @param string $component - * @param bool $svg If set to true SVG images will also be looked for. + * @param bool $svg|null Should SVG images also be looked for? If null, resorts to $CFG->svgicons if that is set; falls back to + * auto-detection of browser support otherwise * @return string full file path */ public function resolve_image_location($image, $component, $svg = false) {