Skip to content

Commit 6897b5b

Browse files
committed
Fix bad variable name in ResponseEncoder
1 parent a1c5a05 commit 6897b5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResultEncoder/ResultEncoder.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function &setDisplayErrorDetails($value)
5050
public function encode($action_result, ServerRequestInterface $request, ResponseInterface $response)
5151
{
5252
if ($action_result instanceof ResponseInterface) {
53-
return $result;
53+
return $action_result;
5454
}
5555

5656
if ($action_result instanceof FileDownloadResponse) {

0 commit comments

Comments
 (0)