Skip to content

Commit e2064e9

Browse files
author
Robert Remenyi
committed
fix: nullable array typehint
1 parent d5ee7c5 commit e2064e9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
88
## [5.3.0] - 2021-04-13
99
### Added
1010
- Support for `mixed` parameter type
11+
- Support for anyOf `mixed` parameter type
1112

1213
### Fixed
1314
- `mixed` arrays rendered incorrectly
15+
- Wrong typehint in case of nullable arrays
1416

1517
## [5.2.0] - 2021-04-06
1618
### Added

example/gen/src/Schema/TagCollection.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class TagCollection implements IteratorAggregate, SerializableInterface, Countab
1818
private array $items;
1919

2020
/**
21-
* @param Tag|null[] $items
21+
* @param Tag[] $items
2222
*/
2323
public function __construct(Tag ...$items)
2424
{

0 commit comments

Comments
 (0)