MDL-79147 core: fix mustache_filesystem_loader load hint

This commit is contained in:
Ferran Recio
2023-08-24 10:43:04 +02:00
parent e54c28009d
commit a586ee8e07
@@ -72,7 +72,7 @@ class mustache_filesystem_loader extends \Mustache_Loader_FilesystemLoader {
* @param string $name the template name
* @return string Mustache Template source
*/
public function load($name): string {
public function load($name) {
global $CFG;
if (!empty($CFG->debugtemplateinfo)) {
// We use many templates per page. We don't want to allocate more memory than necessary.