Skip to content

Commit e1ecaf9

Browse files
committed
Remove ?? 1 since it's redundant
1 parent 91e01b8 commit e1ecaf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Consumer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function setConsumerTag(string $value): void
4747

4848
public function setMaxPriority(int $value): void
4949
{
50-
$this->maxPriority = $value ?? 1;
50+
$this->maxPriority = $value;
5151
}
5252

5353
public function setPrefetchSize(int $value): void

0 commit comments

Comments
 (0)