We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e742d5 commit 4cc5553Copy full SHA for 4cc5553
Internal/Hydrator.php
@@ -86,7 +86,7 @@ public static function getHydrator($class)
86
if ("\0" === $name) {
87
foreach ($values as $i => $v) {
88
for ($j = 0; $j < \count($v); ++$j) {
89
- $objects[$i]->attach($v[$j], $v[++$j]);
+ $objects[$i][$v[$j]] = $v[++$j];
90
}
91
92
continue;
@@ -194,7 +194,7 @@ public static function getSimpleHydrator($class)
194
195
196
for ($i = 0; $i < \count($value); ++$i) {
197
- $object->attach($value[$i], $value[++$i]);
+ $object[$value[$i]] = $value[++$i];
198
199
200
};
0 commit comments