This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
Diactoros 1.1.3
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #71 fixes the docblock of the
JsonResponse
constructor to typehint the$data
argument asmixed
. - #73 changes the behavior in
Request
such that if it marshals a stream during instantiation, the stream is marked as writeable (specifically, modewb+
). - #85 updates the behavior of
Zend\Diactoros\Uri
's variouswith*()
methods that are documented as accepting strings to raise exceptions on non-string input. Previously, several simply passed non-string input on verbatim, others normalized the input, and a few correctly raised the exceptions. Behavior is now consistent across each. - #87 fixes
UploadedFile
to ensure thatmoveTo()
works correctly in non-SAPI environments when the file provided to the constructor is a path.