Skip to content

Commit c81b042

Browse files
lucaswerkmeisterthiemowmde
authored andcommitted
Deprecate StatementGuid::getSerialization (#752)
1 parent 51d7b91 commit c81b042

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/Statement/StatementGuid.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ public function getEntityId() {
6060

6161
/**
6262
* @return string
63+
* @deprecated The value returned by this method might differ in case from the original, unparsed statement GUID
64+
* (the entity ID part might have been lowercase originally, but is always normalized in the return value here),
65+
* which means that the value should not be compared to other statement GUID serializations,
66+
* e.g. to look up a statement in a StatementList.
6367
*/
6468
public function getSerialization() {
6569
return $this->serialization;

0 commit comments

Comments
 (0)