mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-10 07:24:25 +02:00
Fix PHP compat
This commit is contained in:
parent
91c0ff9d05
commit
25acc9602e
@ -210,7 +210,7 @@ CSS;
|
||||
// we can't just access the light mode definitions in the calls above.
|
||||
// The LightModeVisitor ensures that all calls have access to the environment in which the mode was defined.
|
||||
// Finally, the rules are merged so that the light mode calls are also rendered to CSS.
|
||||
$rules = new ReflectionProperty($parser::class, 'rules');
|
||||
$rules = new ReflectionProperty(get_class($parser), 'rules');
|
||||
$rules->setAccessible(true);
|
||||
$evald->rules = array_merge(
|
||||
$evald->rules,
|
||||
|
Loading…
x
Reference in New Issue
Block a user