MDL-76415 core: Fixed ${var} string interpolation deprecations.

Since PHP 8.2, placing the dollar sign outside the curly brace is deprecated when
the expression inside the braces resolves to a variable or an expression.
This commit is contained in:
Meirza
2023-02-13 19:51:46 +07:00
parent 6b02417e8c
commit e2cd808b34
9 changed files with 24 additions and 24 deletions
+2 -2
View File
@@ -226,8 +226,8 @@ class editor extends \texteditor {
M.util.js_pending('editor_tiny/editor');
require(['editor_tiny/editor'], (Tiny) => {
Tiny.setupForElementId({
elementId: "${elementid}",
options: ${configoptions},
elementId: "{$elementid}",
options: {$configoptions},
});
M.util.js_complete('editor_tiny/editor');
});