src/Payum/Core/Bridge/Symfony/Action/GetHttpRequestAction.php
public function execute($request)
    {
        /** @var $request GetHttpRequest */
        RequestNotSupportedException::assertSupports($this, $request);

        if ($this->httpRequest instanceof Request) {
            $this->updateRequest($request, $this->httpRequest);
        } elseif ($this->httpRequestStack instanceof RequestStack && null !== $this->httpRequestStack->getMasterRequest()) {
            $this->updateRequest($request, $this->httpRequestStack->getMasterRequest());
        }
    }
public function execute($request)
    {
        /** @var $request GetHttpRequest */
        RequestNotSupportedException::assertSupports($this, $request);

        if ($this->httpRequest instanceof Request) {
            $this->updateRequest($request, $this->httpRequest);
        } elseif ($this->httpRequestStack instanceof RequestStack && null !== $this->httpRequestStack->getMasterRequest()) {
            $this->updateRequest($request, $this->httpRequestStack->getMasterRequest());
        }
    }
{@inheritDoc}