Skip to content

Commit 77e686d

Browse files
committed
Support DPHP ^10.20.0
1 parent aa08a75 commit 77e686d

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
}
1010
],
1111
"require": {
12-
"team-reflex/discord-php": "^10.18.40"
12+
"team-reflex/discord-php": "^10.20.0"
1313
},
1414
"require-dev": {
1515
"friendsofphp/php-cs-fixer": "^3",

src/MTG/Http/Http.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class Http implements HttpInterface
116116
*
117117
* @var SplQueue
118118
*/
119-
protected $interactionQueue;
119+
protected $unboundQueue;
120120

121121
/**
122122
* Number of requests that are waiting for a response.
@@ -144,7 +144,7 @@ public function __construct(string $token, LoopInterface $loop, LoggerInterface
144144
$this->logger = $logger;
145145
$this->driver = $driver;
146146
$this->queue = new SplQueue();
147-
$this->interactionQueue = new SplQueue();
147+
$this->unboundQueue = new SplQueue();
148148
}
149149

150150
/**

src/MTG/Repository/AbstractRepositoryTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ public function clear(): void
640640
*
641641
* @return array
642642
*/
643-
public function toArray(): array
643+
public function toArray(bool $assoc = true): array
644644
{
645645
$items = [];
646646

0 commit comments

Comments
 (0)