mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 07:12:26 +02:00
N°8910 - Upgrade Symfony packages
This commit is contained in:
@@ -61,8 +61,8 @@ final class Hydrator
|
||||
$propertyScopes = InternalHydrator::$propertyScopes[$class] ??= InternalHydrator::getPropertyScopes($class);
|
||||
|
||||
foreach ($properties as $name => &$value) {
|
||||
[$scope, $name, $readonlyScope] = $propertyScopes[$name] ?? [$class, $name, $class];
|
||||
$scopedProperties[$readonlyScope ?? $scope][$name] = &$value;
|
||||
[$scope, $name, $writeScope] = $propertyScopes[$name] ?? [$class, $name, $class];
|
||||
$scopedProperties[$writeScope ?? $scope][$name] = &$value;
|
||||
}
|
||||
unset($value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user