Skip to content

Commit 73dfb86

Browse files
committed
Parameter type annotation fixed
1 parent 8c114d1 commit 73dfb86

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.2.1] - 2023-06-14
8+
### Fixed
9+
- Incorrect parameter annotation for `RangeSet::importRanges()` method fixed.
10+
711
## [0.2.0] - 2023-06-13
812
### Removed
913
- Dropped support for PHP 7.

src/RangeSet.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public static function createUnsafe(RangeInterface ...$ranges): RangeSetInterfac
4848
}
4949

5050
/**
51-
* @param array{int, int|null} ...$rangeDataList
51+
* @param array{int, int|null}|array{int} ...$rangeDataList
5252
* @return list<RangeInterface>
5353
* @psalm-pure
5454
*/

0 commit comments

Comments
 (0)