Skip to content

Commit cef9e7c

Browse files
authored
[BUGFIX] Fix another implictly nullable parameter (#751)
This fixes compatibility with PHP 8.4. This is the last part of the v8.x backport of #643.
1 parent 1dd952b commit cef9e7c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
77

88
### Added
99

10-
- Add support for PHP 8.4 (#675, #701, #746)
10+
- Add support for PHP 8.4 (#675, #701, #746, #751)
1111

1212
### Changed
1313

src/RuleSet/RuleSet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function getLineNo()
102102
*
103103
* @return void
104104
*/
105-
public function addRule(Rule $oRule, Rule $oSibling = null)
105+
public function addRule(Rule $oRule, $oSibling = null)
106106
{
107107
$sRule = $oRule->getRule();
108108
if (!isset($this->aRules[$sRule])) {

0 commit comments

Comments
 (0)