File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Http \Adapter \React \Exception ;
4
+
5
+ use Http \Client \Exception ;
6
+
7
+ final class UnexpectedValueException extends \UnexpectedValueException implements Exception
8
+ {
9
+ }
Original file line number Diff line number Diff line change 2
2
3
3
namespace Http \Adapter \React ;
4
4
5
+ use Http \Adapter \React \Exception \UnexpectedValueException ;
5
6
use Http \Client \Exception as HttplugException ;
6
7
use Http \Promise \Promise as HttpPromise ;
7
8
use Psr \Http \Message \RequestInterface ;
8
9
use Psr \Http \Message \ResponseInterface ;
9
10
use React \EventLoop \LoopInterface ;
10
11
use React \Promise \PromiseInterface ;
11
12
use RuntimeException ;
12
- use UnexpectedValueException ;
13
13
14
14
/**
15
15
* React promise adapter implementation.
Original file line number Diff line number Diff line change 2
2
3
3
namespace Http \Adapter \React \Tests ;
4
4
5
+ use Http \Adapter \React \Exception \UnexpectedValueException ;
5
6
use Http \Adapter \React \Promise ;
6
7
use Http \Adapter \React \ReactFactory ;
7
8
use Http \Client \Exception \HttpException ;
14
15
use Psr \Http \Message \ResponseInterface ;
15
16
use React \Promise \Promise as ReactPromise ;
16
17
use RuntimeException ;
17
- use UnexpectedValueException ;
18
18
19
19
class PromiseTest extends TestCase
20
20
{
You can’t perform that action at this time.
0 commit comments