Skip to content

Commit d427724

Browse files
committed
docs: fix linting errors
- Trailing whitespace - Incorrect indentation Signed-off-by: Matthew Weier O'Phinney <[email protected]>
1 parent df0c728 commit d427724

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

docs/book/default-types.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
- **Since 1.1.0.**
44

5-
When you raise your own exceptions implementing `Mezzio\ProblemDetails\Exception\ProblemDetailsExceptionInterface`
5+
When you raise your own exceptions implementing `Mezzio\ProblemDetails\Exception\ProblemDetailsExceptionInterface`
66
you will always be in control of all the properties returned as part of the
77
response payload, including the `status`, `type`, `title`, `detail`, etc.
88
items.

docs/book/response.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -141,16 +141,16 @@ 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.)
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.)
154154

155155
If any of the above config values are not present, a `null` value will be
156156
passed, allowing the default value to be used.

0 commit comments

Comments
 (0)