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

Commit e81a8c5

Browse files
samsonasikweierophinney
authored andcommitted
changelog #34
1 parent 7017430 commit e81a8c5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,10 @@ Versions 0.3.0 and prior were released as "weierophinney/problem-details".
5151
the `$responseFactory` argument is now required.
5252

5353
- [#34](https://github.com/zendframework/zend-problem-details/pull/34) updates
54-
the default `$jsonFlag` to the `Zend\ProblemDetails\ProblemDetailsResponseFactory`
55-
constructor to include `JSON_PRETTY_PRINT` only when the `$isDebug` argument
56-
is boolean `true`.
54+
the behavior when passing null as the `$jsonFlag` parameter to the
55+
`Zend\ProblemDetails\ProblemDetailsResponseFactory` constructor; in such
56+
situations, the default `json_encode()` flags will include `JSON_PRETTY_PRINT`
57+
only when the `$isDebug` argument is boolean `true`.
5758

5859
### Deprecated
5960

0 commit comments

Comments
 (0)