File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77use Wikibase \DataModel \Entity \EntityId ;
88
99/**
10+ * Immutable value object for a statement id. A statement id consists of the entity id serialization
11+ * of the entity it belongs to (e.g. "Q1") and a randomly generated global unique identifier (GUID),
12+ * separated by a dollar sign.
13+ *
1014 * @since 3.0
1115 *
1216 * @licence GNU GPL v2+
@@ -19,7 +23,14 @@ class StatementGuid implements Comparable {
1923 */
2024 const SEPARATOR = '$ ' ;
2125
26+ /**
27+ * @var EntityId
28+ */
2229 private $ entityId ;
30+
31+ /**
32+ * @var string
33+ */
2334 private $ serialization ;
2435
2536 /**
@@ -65,7 +76,7 @@ public function equals( $target ) {
6576 }
6677
6778 return $ target instanceof self
68- && $ target ->serialization === $ this ->serialization ;
79+ && $ target ->serialization === $ this ->serialization ;
6980 }
7081
7182 public function __toString () {
You can’t perform that action at this time.
0 commit comments