Skip to content

Commit

Permalink
[BUGFIX] Fix another implictly nullable parameter
Browse files Browse the repository at this point in the history
This fixes compatibility with PHP 8.4.

This is the last part of the v8.x backport of #643.
  • Loading branch information
oliverklee committed Oct 27, 2024
1 parent 1dd952b commit aec267f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).

### Added

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

### Changed

Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/RuleSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function getLineNo()
*
* @return void
*/
public function addRule(Rule $oRule, Rule $oSibling = null)
public function addRule(Rule $oRule, $oSibling = null)
{
$sRule = $oRule->getRule();
if (!isset($this->aRules[$sRule])) {
Expand Down

0 comments on commit aec267f

Please sign in to comment.