Skip to content

Commit

Permalink
Use reactphp/async instead of clue/reactphp-block
Browse files Browse the repository at this point in the history
  • Loading branch information
dinooo13 committed Sep 30, 2022
1 parent c36b92f commit 807c150
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -13,7 +13,7 @@
"react/socket": "^1.12"
},
"require-dev": {
"clue/block-react": "^1.5",
"react/async": "^4 || ^3 || ^2",
"phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.35"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion tests/BaseTestCase.php
Expand Up @@ -37,7 +37,7 @@ protected function createConnection(LoopInterface $loop)
$factory = new Factory($loop);
$promise = $factory->createConnection($this->getConnectionString());

return \Clue\React\Block\await($promise, $loop, 10.0);
return \React\Async\await($promise);
}

protected function getDataTable()
Expand Down

0 comments on commit 807c150

Please sign in to comment.