diff --git a/src/Deserializers/LegacyStatementDeserializer.php b/src/Deserializers/LegacyStatementDeserializer.php index 2940b32..d779938 100644 --- a/src/Deserializers/LegacyStatementDeserializer.php +++ b/src/Deserializers/LegacyStatementDeserializer.php @@ -73,10 +73,14 @@ private function newStatement() { } private function newStatementFromClaim( Claim $claim ) { - return new Statement( + $statement = new Statement( $claim->getMainSnak(), $claim->getQualifiers() ); + + $statement->setGuid( $claim->getGuid() ); + + return $statement; } private function setRank( Statement $statement ) {