Skip to content

Commit 44b7b81

Browse files
Merge branch '6.1' into 6.2
* 6.1: Update ComposerPlugin.php [Notifier] [OvhCloud] handle invalid receiver [Cache] fix collecting cache stats when nesting computations [VarDumper] Fix JS to expand / collapse [Validator] Fix Email validator logic Fix user_identifier support after username has been deprecated in favor of it. [Tests] Remove `$this` occurrences in future static data providers [PropertyInfo] Fixes constructor extractor for mixed type use method_exists() instead of catching reflection exceptions
2 parents 92a342c + e0aafa7 commit 44b7b81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dumper/HtmlDumper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ protected function getDumpHeader()
158158
};
159159
160160
refStyle.innerHTML = 'pre.sf-dump .sf-dump-compact, .sf-dump-str-collapse .sf-dump-str-collapse, .sf-dump-str-expand .sf-dump-str-expand { display: none; }';
161-
(doc.documentElement.firstElementChild || doc.documentElement.children[0]).appendChild(refStyle);
161+
doc.head.appendChild(refStyle);
162162
refStyle = doc.createElement('style');
163-
(doc.documentElement.firstElementChild || doc.documentElement.children[0]).appendChild(refStyle);
163+
doc.head.appendChild(refStyle);
164164
165165
if (!doc.addEventListener) {
166166
addEventListener = function (element, eventName, callback) {

0 commit comments

Comments
 (0)