File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 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
1010
1111### Changed
1212
13+ - Replaced EventFactory::create with Loop::get as the factory has been deprecated.
1314
1415## [ 3.0.0] - 2020-12-17
1516
Original file line number Diff line number Diff line change 1414 "php" : " ^7.1|^8.0" ,
1515 "php-http/httplug" : " ^2.0" ,
1616 "react/http" : " ^1.0" ,
17- "react/event-loop" : " ^1.0 " ,
17+ "react/event-loop" : " ^1.2 " ,
1818 "php-http/discovery" : " ^1.0"
1919 },
2020 "require-dev" : {
Original file line number Diff line number Diff line change 22
33namespace Http \Adapter \React ;
44
5- use React \EventLoop \Factory as EventLoopFactory ;
5+ use React \EventLoop \Loop ;
66use React \EventLoop \LoopInterface ;
77use React \Http \Browser ;
88use React \Socket \ConnectorInterface ;
@@ -19,7 +19,7 @@ class ReactFactory
1919 */
2020 public static function buildEventLoop (): LoopInterface
2121 {
22- return EventLoopFactory:: create ();
22+ return Loop:: get ();
2323 }
2424
2525 /**
You can’t perform that action at this time.
0 commit comments