/**
* @param array $configs
*
* @return array
*/
protected function merge(array $configs): array {
$result = [];
foreach ($configs as $config) {
$result += $config;
foreach ($config as $name => $dto) {
$result[$name] += $dto;
}
}
return $result;
}
no issue as long as we do not document this any further, just as before.
This didn't error a few patches before. So this looks like a too strict regression of sorts.
Bug report
Code snippet that reproduces the problem
https://phpstan.org/r/86239cd8-0802-4070-8bdf-b773187103ee
Expected output
no issue as long as we do not document this any further, just as before.
This didn't error a few patches before. So this looks like a too strict regression of sorts.