Skip to content

Commit b1093f2

Browse files
txdFabiodavedevelopment
authored andcommitted
remove implicitly nullable via default value null
1 parent 99ec86b commit b1093f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hamcrest/Hamcrest/Xml/HasXPath.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class HasXPath extends DiagnosingMatcher
3232
*/
3333
private $_matcher;
3434

35-
public function __construct($xpath, Matcher $matcher = null)
35+
public function __construct($xpath, ?Matcher $matcher = null)
3636
{
3737
$this->_xpath = $xpath;
3838
$this->_matcher = $matcher;

0 commit comments

Comments
 (0)