Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
Fix miniTicker endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Eyrick authored Apr 25, 2018
1 parent fb08002 commit 876a819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php-binance-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -2129,7 +2129,7 @@ public function miniTicker(callable $callback)

// @codeCoverageIgnoreStart
// phpunit can't cover async function
\Ratchet\Client\connect('wss://stream2.binance.com:9443/ws/!miniTicker@arr@1000ms')->then(function ($ws) use ($callback, $endpoint) {
\Ratchet\Client\connect($this->stream . '!miniTicker@arr')->then(function ($ws) use ($callback, $endpoint) {
$ws->on('message', function ($data) use ($ws, $callback, $endpoint) {
if ($this->subscriptions[$endpoint] === false) {
//$this->subscriptions[$endpoint] = null;
Expand Down

0 comments on commit 876a819

Please sign in to comment.