File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
11
11
### Changed
12
12
13
+ - Replaced EventFactory::create with Loop::get as the factory has been deprecated.
13
14
14
15
## [ 3.0.0] - 2020-12-17
15
16
Original file line number Diff line number Diff line change 14
14
"php" : " ^7.1|^8.0" ,
15
15
"php-http/httplug" : " ^2.0" ,
16
16
"react/http" : " ^1.0" ,
17
- "react/event-loop" : " ^1.0 " ,
17
+ "react/event-loop" : " ^1.2 " ,
18
18
"php-http/discovery" : " ^1.0"
19
19
},
20
20
"require-dev" : {
Original file line number Diff line number Diff line change 2
2
3
3
namespace Http \Adapter \React ;
4
4
5
- use React \EventLoop \Factory as EventLoopFactory ;
5
+ use React \EventLoop \Loop ;
6
6
use React \EventLoop \LoopInterface ;
7
7
use React \Http \Browser ;
8
8
use React \Socket \ConnectorInterface ;
@@ -19,7 +19,7 @@ class ReactFactory
19
19
*/
20
20
public static function buildEventLoop (): LoopInterface
21
21
{
22
- return EventLoopFactory:: create ();
22
+ return Loop:: get ();
23
23
}
24
24
25
25
/**
You can’t perform that action at this time.
0 commit comments