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

Commit f6a9cf8

Browse files
committed
Adds CHANGELOG entry for #320
1 parent 2cf1797 commit f6a9cf8

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+
- [#320](https://github.com/zendframework/zend-diactoros/pull/320) adds checking within `Response` to ensure that the provided reason
26+
phrase is a string; an `InvalidArgumentException` is now raised if it is not. This change
27+
ensures the class adheres strictly to the PSR-7 specification.
28+
2529
- [#319](https://github.com/zendframework/zend-diactoros/pull/319) provides a fix to `Zend\Diactoros\Response` that ensures that the status
2630
code returned is _always_ an integer (and never a string containing an
2731
integer), thus ensuring it strictly adheres to the PSR-7 specification.

0 commit comments

Comments
 (0)