Skip to content
Snippets Groups Projects
Commit 1741ee05 authored by Alexander Schnitzler's avatar Alexander Schnitzler Committed by Daniel Goerz
Browse files

[BUGFIX] Client exceptions must return request

Both the \TYPO3\CMS\Core\Http\Client\RequestException and
\TYPO3\CMS\Core\Http\Client\NetworkException declare a method
getRequest which must return a RequestInterface object which
they did not.

Releases: master
Resolves: #90379
Change-Id: I4cdee1cdf95efc1ebcabaacec7be2cd290f31989
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63254


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
parent 86c57733
Branches
Tags
No related merge requests found
......@@ -37,6 +37,6 @@ class NetworkException extends GuzzleConnectException implements NetworkExceptio
public function getRequest(): RequestInterface
{
parent::getRequest();
return parent::getRequest();
}
}
......@@ -37,6 +37,6 @@ class RequestException extends GuzzleRequestException implements RequestExceptio
public function getRequest(): RequestInterface
{
parent::getRequest();
return parent::getRequest();
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment