Release 2.20.0 (#4987)

This commit is contained in:
Kevin Papst
2024-08-04 18:22:27 +02:00
committed by GitHub
parent 0947b88d36
commit ff6a3e8262
101 changed files with 441 additions and 458 deletions

View File

@@ -304,12 +304,12 @@ final class DoctorController extends AbstractController
)) {
foreach ($matches as $match) {
$fn = $plainText;
if (isset($match[3])) {
if (isset($match[2]) && isset($match[3])) {
$keys1 = array_keys($phpinfo);
$phpinfo[end($keys1)][$fn($match[2])] = isset($match[4]) ? [$fn($match[3]), $fn($match[4])] : $fn($match[3]);
} else {
$keys1 = array_keys($phpinfo);
$phpinfo[end($keys1)][] = $fn($match[2]);
$phpinfo[end($keys1)][] = $fn($match[2]); // @phpstan-ignore-line
}
}
}