Skip to content

Commit ed7335e

Browse files
committed
Fixes Composer\InstalledVersions::getVersion typo
1 parent 2cde438 commit ed7335e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Discord/Bucket.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function __construct(string $name, LoopInterface $loop, LoggerInterface $
107107
$this->logger = $logger;
108108
$this->runRequest = $runRequest;
109109

110-
$this->promiseV3 = str_starts_with(InstalledVersions::getVersion('react/promise'), '0.3.');
110+
$this->promiseV3 = str_starts_with(InstalledVersions::getVersion('react/promise'), '3.');
111111
}
112112

113113
/**
@@ -225,4 +225,4 @@ public function __toString()
225225
{
226226
return 'BUCKET '.$this->name;
227227
}
228-
}
228+
}

0 commit comments

Comments
 (0)