Skip to content

Commit

Permalink
add default $limit
Browse files Browse the repository at this point in the history
  • Loading branch information
golliholzland committed Oct 30, 2023
1 parent ca41258 commit b36c58a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Transport/TransportInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function isListable(): bool
/**
* @return Collection<int,QueuedMessage>
*/
public function list(?int $limit = null): Collection
public function list(?int $limit = 500): Collection
{
if (!$this->transport instanceof ListableReceiverInterface) {
throw new \LogicException(\sprintf('Transport "%s" does not implement "%s".', $this->name, ListableReceiverInterface::class));
Expand Down

0 comments on commit b36c58a

Please sign in to comment.