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 26048c8 commit b5a3158Copy full SHA for b5a3158
lib/Doctrine/Common/DataFixtures/ProxyReferenceRepository.php
@@ -75,7 +75,7 @@ public function unserialize($serializedData)
75
$name,
76
$this->getManager()->getReference(
77
$proxyReference[0], // entity class name
78
- $proxyReference[1] // identifiers
+ is_array($proxyReference[1]) ? $proxyReference[1]['id'] : $proxyReference[1] // identifiers
79
)
80
);
81
}
0 commit comments