Skip to content

Commit

Permalink
Parameter type annotation fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
remorhaz committed Jun 14, 2023
1 parent 8c114d1 commit 73dfb86
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.1] - 2023-06-14
### Fixed
- Incorrect parameter annotation for `RangeSet::importRanges()` method fixed.

## [0.2.0] - 2023-06-13
### Removed
- Dropped support for PHP 7.
Expand Down
2 changes: 1 addition & 1 deletion src/RangeSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public static function createUnsafe(RangeInterface ...$ranges): RangeSetInterfac
}

/**
* @param array{int, int|null} ...$rangeDataList
* @param array{int, int|null}|array{int} ...$rangeDataList
* @return list<RangeInterface>
* @psalm-pure
*/
Expand Down

0 comments on commit 73dfb86

Please sign in to comment.