MDL-56254 theme_boost: Cannot use $this as function parameter

This commit is contained in:
Frédéric Massart 2016-10-04 10:41:15 +02:00
parent d4566644f6
commit 98f1034ccd

View File

@ -30,7 +30,7 @@ defined('MOODLE_INTERNAL') || die();
* @param string $tree The CSS tree.
* @param theme_config $theme The theme config object.
*/
function theme_boost_css_tree_post_processor($tree, $this) {
function theme_boost_css_tree_post_processor($tree, $theme) {
$prefixer = new theme_boost\autoprefixer($tree);
$prefixer->prefix();
}