File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1212 ],
1313 "require" : {
1414 "php" : " >=7.1" ,
15- "clue/redis-protocol" : " 0.3.* " ,
15+ "clue/redis-protocol" : " ^ 0.3.2 " ,
1616 "evenement/evenement" : " ^3.0 || ^2.0 || ^1.0" ,
1717 "react/event-loop" : " ^1.2" ,
18- "react/promise" : " ^3" ,
19- "react/socket" : " ^1.15 "
18+ "react/promise" : " ^3.2 " ,
19+ "react/socket" : " ^1.16 "
2020 },
2121 "require-dev" : {
2222 "phpstan/phpstan" : " 1.10.15 || 1.4.10" ,
2323 "phpunit/phpunit" : " ^9.6 || ^7.5" ,
24- "react/async" : " ^4.2 || ^3.2"
24+ "react/async" : " ^4.3 || ^3.2"
2525 },
2626 "autoload" : {
2727 "psr-4" : {
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class Factory
2727 * @param ?ConnectorInterface $connector
2828 * @param ?ProtocolFactory $protocol
2929 */
30- public function __construct (ConnectorInterface $ connector = null , ProtocolFactory $ protocol = null )
30+ public function __construct (? ConnectorInterface $ connector = null , ? ProtocolFactory $ protocol = null )
3131 {
3232 $ this ->connector = $ connector ?: new Connector ();
3333 $ this ->protocol = $ protocol ?: new ProtocolFactory ();
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ class RedisClient extends EventEmitter
5454 /** @var array<string,bool> */
5555 private $ psubscribed = [];
5656
57- public function __construct (string $ url , ConnectorInterface $ connector = null )
57+ public function __construct (string $ url , ? ConnectorInterface $ connector = null )
5858 {
5959 $ args = [];
6060 \parse_str ((string ) \parse_url ($ url , \PHP_URL_QUERY ), $ args );
You can’t perform that action at this time.
0 commit comments