Browse Source

return value for __invoke was wrong

Corrected  __invoke return value.
Iftekhar Ahmed Eather 6 years ago
parent
commit
f79a7e6b6f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/test_app/TestApp/Http/BadResponseApplication.php

+ 1 - 1
tests/test_app/TestApp/Http/BadResponseApplication.php

@@ -28,6 +28,6 @@ class BadResponseApplication extends BaseApplication
      */
     public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next)
     {
-        return $res;
+        return $response;
     }
 }