Skip to content

Commit 688542a

Browse files
committed
Docs linting fixes
Signed-off-by: George Steel <[email protected]>
1 parent 573534c commit 688542a

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

docs/book/intro.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ APIs. In particular, it specifies the following:
2828
appending a serialization format of either `json` or `xml`:
2929
`application/problem+json`, `application/problem+xml`.
3030
- Error responses will have each of the following keys:
31-
- `detail`, a human-readable description of the specific error.
32-
- `type`, a unique URI for the general error type, generally pointing to
33-
human-readable documentation of that given type.
34-
- `title`, a short, human-readable title for the general error type; the title
35-
should not change for given `type`s.
36-
- `status`, conveying the HTTP status code; this is so that all information
37-
is in one place, but also to correct for changes in the status code due to
38-
usage of proxy servers.
31+
- `detail`, a human-readable description of the specific error.
32+
- `type`, a unique URI for the general error type, generally pointing to
33+
human-readable documentation of that given type.
34+
- `title`, a short, human-readable title for the general error type; the title
35+
should not change for given `type`s.
36+
- `status`, conveying the HTTP status code; this is so that all information
37+
is in one place, but also to correct for changes in the status code due to
38+
usage of proxy servers.
3939

4040
Optionally, an `instance` key may be present, with a unique URI for the specific
4141
error; this will often point to an error log for that specific response.

docs/book/response.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -141,21 +141,21 @@ This package also provides a factory for generating the
141141
- Pulls the `Psr\Http\Message\ResponseInterface` service to provide as the
142142
`$responseFactory` parameter.
143143
- If a `config` service is present:
144-
- If the service contains a `debug` key with a boolean value, that value is
145-
provided as the `$isDebug` parameter.
146-
- If the service contains a `problem-details` key with an array value
147-
containing a `json_flags` key, and that value is an integer, that value is
148-
provided as the `$jsonFlags` parameter.
149-
- If the service contains a `problem-details` key with an array value
150-
containing a `default_types_map` key, and that value is an array, that
151-
value is provided as the `$defaultTypesMap` parameter; see the
152-
[default types documentation](default-types.md) for details on defining
153-
this map. (Since 1.1.0.)
154-
- If the service contains a `problem-details` key with an array value
155-
containing a `include-throwable-details` key,
156-
and that value is a boolean,
157-
that value is used instead of global `debug` value for the `$includeThrowableDetail` parameter.
158-
(Since 1.14.0.)
144+
- If the service contains a `debug` key with a boolean value, that value is
145+
provided as the `$isDebug` parameter.
146+
- If the service contains a `problem-details` key with an array value
147+
containing a `json_flags` key, and that value is an integer, that value is
148+
provided as the `$jsonFlags` parameter.
149+
- If the service contains a `problem-details` key with an array value
150+
containing a `default_types_map` key, and that value is an array, that
151+
value is provided as the `$defaultTypesMap` parameter; see the
152+
[default types documentation](default-types.md) for details on defining
153+
this map. (Since 1.1.0.)
154+
- If the service contains a `problem-details` key with an array value
155+
containing a `include-throwable-details` key,
156+
and that value is a boolean,
157+
that value is used instead of global `debug` value for the `$includeThrowableDetail` parameter.
158+
(Since 1.14.0.)
159159

160160
### Example configuration
161161

0 commit comments

Comments
 (0)