Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit cc8d859

Browse files
committed
Adds CHANGELOG entry for #321
1 parent b9e3c90 commit cc8d859

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ All notable changes to this project will be documented in this file, in reverse
2222

2323
### Fixed
2424

25+
- [#321](https://github.com/zendframework/zend-diactoros/pull/321) updates the logic in `Uri::withPort()` to ensure that it checks that the
26+
value provided is either an integer or a string integer, as only those values
27+
may be cast to integer without data loss.
28+
2529
- [#320](https://github.com/zendframework/zend-diactoros/pull/320) adds checking within `Response` to ensure that the provided reason
2630
phrase is a string; an `InvalidArgumentException` is now raised if it is not. This change
2731
ensures the class adheres strictly to the PSR-7 specification.

0 commit comments

Comments
 (0)