File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 22
33namespace Payum \Bundle \PayumBundle ;
44
5- use Payum \Bundle \PayumBundle \Reply \HttpResponse as SymfonyHttpResponse ;
5+ use Payum \Core \Bridge \Symfony \Reply \HttpResponse as CoreSymfonyHttpResponse ;
6+ use Payum \Core \Bridge \PayumBundle \Reply \HttpResponse as SymfonyHttpResponse ;
67use Payum \Core \Exception \LogicException ;
78use Payum \Core \Reply \HttpResponse ;
89use Payum \Core \Reply \ReplyInterface ;
@@ -16,7 +17,7 @@ class ReplyToSymfonyResponseConverter
1617 */
1718 public function convert (ReplyInterface $ reply )
1819 {
19- if ($ reply instanceof SymfonyHttpResponse) {
20+ if ($ reply instanceof SymfonyHttpResponse || $ reply instanceof CoreSymfonyHttpResponse ) {
2021 return $ reply ->getResponse ();
2122 } elseif ($ reply instanceof HttpResponse) {
2223 $ headers = $ reply ->getHeaders ();
You can’t perform that action at this time.
0 commit comments