Skip to content

Commit dec5b02

Browse files
committed
Remove {ArrayHasKeyWith,ArrayHasItemWith}::failureDescription()
1 parent fc16382 commit dec5b02

2 files changed

Lines changed: 0 additions & 16 deletions

File tree

‎src/Constraint/ArrayHasItemWith.php‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,4 @@ public function count(): int
9393
{
9494
return $this->constraint->count() + 1;
9595
}
96-
97-
/**
98-
* {@inheritDoc}
99-
*/
100-
protected function failureDescription($other): string
101-
{
102-
return 'an array ' . $this->toString();
103-
}
10496
}

‎src/Constraint/ArrayHasKeyWith.php‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,4 @@ public function count(): int
8787
{
8888
return $this->constraint->count() + 1;
8989
}
90-
91-
/**
92-
* {@inheritDoc}
93-
*/
94-
protected function failureDescription($other): string
95-
{
96-
return 'an array ' . $this->toString();
97-
}
9890
}

0 commit comments

Comments
 (0)