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

Commit 4d842e7

Browse files
committed
Merge branch 'hotfix/2'
Close weierophinney/problem-details#2
2 parents d1f8240 + d694259 commit 4d842e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/book/response.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ class ApiMiddleware implements MiddlewareInterface
190190
public function process(ServerRequestInterface $request, DelegateInterface $delegate)
191191
{
192192
// discovered an error, so returning problem details:
193-
return ProblemDetailsResponseFactory::create(
193+
return ProblemDetailsResponseFactory::createResponse(
194194
$request->getHeaderLine('Accept'),
195195
403,
196196
'You do not have valid credentials to access ' . $request->getUri()->getPath(),

0 commit comments

Comments
 (0)