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

Commit 7eee5ee

Browse files
committed
ResponseInterface is now factory
Fixes zendframework/zend-expressive#569
1 parent a32c76d commit 7eee5ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResponsePrototypeTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ protected function getResponsePrototype(ContainerInterface $container) : Respons
3333
));
3434
}
3535
return $container->has(ResponseInterface::class)
36-
? $container->get(ResponseInterface::class)
36+
? $container->get(ResponseInterface::class)()
3737
: new Response();
3838
}
3939
}

0 commit comments

Comments
 (0)