Skip to content

Commit 50b0069

Browse files
committed
Fixes Composer\InstalledVersions::getVersion typo
1 parent ed7335e commit 50b0069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Discord/Http.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public function __construct(string $token, LoopInterface $loop, LoggerInterface
149149
$this->driver = $driver;
150150
$this->queue = new SplQueue;
151151

152-
$this->promiseV3 = str_starts_with(InstalledVersions::getVersion('react/promise'), '0.3.');
152+
$this->promiseV3 = str_starts_with(InstalledVersions::getVersion('react/promise'), '3.');
153153
}
154154

155155
/**

0 commit comments

Comments
 (0)