File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 31
31
use Gitlab \Api \Wiki ;
32
32
use Gitlab \HttpClient \Builder ;
33
33
use Gitlab \HttpClient \Plugin \Authentication ;
34
- use Gitlab \HttpClient \Plugin \GitlabExceptionThrower ;
34
+ use Gitlab \HttpClient \Plugin \ExceptionThrower ;
35
35
use Gitlab \HttpClient \Plugin \History ;
36
36
use Http \Client \Common \HttpMethodsClientInterface ;
37
37
use Http \Client \Common \Plugin \AddHostPlugin ;
@@ -103,7 +103,7 @@ public function __construct(Builder $httpClientBuilder = null)
103
103
$ this ->httpClientBuilder = $ builder = $ httpClientBuilder ?? new Builder ();
104
104
$ this ->responseHistory = new History ();
105
105
106
- $ builder ->addPlugin (new GitlabExceptionThrower ());
106
+ $ builder ->addPlugin (new ExceptionThrower ());
107
107
$ builder ->addPlugin (new HistoryPlugin ($ this ->responseHistory ));
108
108
$ builder ->addPlugin (new HeaderDefaultsPlugin ([
109
109
'User-Agent ' => self ::USER_AGENT ,
Original file line number Diff line number Diff line change 22
22
*
23
23
* @internal
24
24
*/
25
- final class GitlabExceptionThrower implements Plugin
25
+ final class ExceptionThrower implements Plugin
26
26
{
27
27
/**
28
28
* Handle the request and return the response coming from the next callable.
You can’t perform that action at this time.
0 commit comments