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

Commit d694259

Browse files
committed
Merge pull request #2 from Oussous-Hassan/patch-1
Update response.md
2 parents d1f8240 + 4c01de9 commit d694259

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)