Skip to content

Commit 39afaff

Browse files
committed
Can use native Matcher typehints for the privates in IsArrayContainingKeyValuePair
1 parent ef3183e commit 39afaff

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

hamcrest/Hamcrest/Arrays/IsArrayContainingKeyValuePair.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,8 @@
1515

1616
class IsArrayContainingKeyValuePair extends TypeSafeMatcher
1717
{
18-
/**
19-
* @var mixed $_keyMatcher
20-
*/
21-
private $_keyMatcher;
22-
/**
23-
* @var mixed $_valueMatcher
24-
*/
25-
private $_valueMatcher;
18+
private Matcher $_keyMatcher;
19+
private Matcher $_valueMatcher;
2620

2721
public function __construct(Matcher $keyMatcher, Matcher $valueMatcher)
2822
{

0 commit comments

Comments
 (0)