modify plugin name

This commit is contained in:
2022-06-17 14:30:31 +08:00
parent 824dd399db
commit 287dc99362
2 changed files with 7 additions and 1 deletions
+3
View File
@@ -56,6 +56,9 @@ class SplQueue implements QueueInterface
public function pop(float $timeout = -1): mixed
{
// TODO: Implement pop() method.
if ($this->channel->count() < 1) {
return null;
}
return $this->channel->dequeue();
}