Code Duplication    Length = 13-15 lines in 2 locations

src/ConstraintCheck/Context/QualifierContextCursor.php 1 location

@@ 42-54 (lines=13) @@
39
	 * @param string $snakHash
40
	 * @param string $snakPropertyId
41
	 */
42
	public function __construct(
43
		$entityId,
44
		$statementPropertyId,
45
		$statementGuid,
46
		$snakHash,
47
		$snakPropertyId
48
	) {
49
		$this->entityId = $entityId;
50
		$this->statementPropertyId = $statementPropertyId;
51
		$this->statementGuid = $statementGuid;
52
		$this->snakHash = $snakHash;
53
		$this->snakPropertyId = $snakPropertyId;
54
	}
55
56
	/**
57
	 * @codeCoverageIgnore This method is purely declarative.

src/ConstraintCheck/Context/ReferenceContextCursor.php 1 location

@@ 48-62 (lines=15) @@
45
	 * @param string $snakPropertyId
46
	 * @param string $referenceHash
47
	 */
48
	public function __construct(
49
		$entityId,
50
		$statementPropertyId,
51
		$statementGuid,
52
		$snakHash,
53
		$snakPropertyId,
54
		$referenceHash
55
	) {
56
		$this->entityId = $entityId;
57
		$this->statementPropertyId = $statementPropertyId;
58
		$this->statementGuid = $statementGuid;
59
		$this->snakHash = $snakHash;
60
		$this->snakPropertyId = $snakPropertyId;
61
		$this->referenceHash = $referenceHash;
62
	}
63
64
	/**
65
	 * @codeCoverageIgnore This method is purely declarative.