This repository was archived by the owner on Jan 29, 2020. It is now read-only.
zend-diactoros 1.8.3
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
-
#321 updates the logic in
Uri::withPort()to ensure that it checks that the
value provided is either an integer or a string integer, as only those values
may be cast to integer without data loss. -
#320 adds checking within
Responseto ensure that the provided reason
phrase is a string; anInvalidArgumentExceptionis now raised if it is not. This change
ensures the class adheres strictly to the PSR-7 specification. -
#319 provides a fix to
Zend\Diactoros\Responsethat ensures that the status
code returned is always an integer (and never a string containing an
integer), thus ensuring it strictly adheres to the PSR-7 specification.