Skip to content

Commit ffa8f2b

Browse files
committed
🐛 fix for type documentation in PollingOptions
1 parent bd18750 commit ffa8f2b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/Input/PollingOptions.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
class PollingOptions
1515
{
1616
/**
17-
* @var integer Initial delay (in seconds) before attempting to poll a queue.
17+
* @var float Initial delay (in seconds) before attempting to poll a queue.
1818
*/
19-
public int $initialDelaySec;
19+
public float $initialDelaySec;
2020
/**
21-
* @var integer Delay (in seconds) between successive attempts to poll a queue.
21+
* @var float Delay (in seconds) between successive attempts to poll a queue.
2222
*/
23-
public int $delaySec;
23+
public float $delaySec;
2424
/**
2525
* @var integer Maximum number of retries for a queue.
2626
*/
@@ -31,7 +31,7 @@ class PollingOptions
3131
*/
3232
public function __construct()
3333
{
34-
$this->initialDelaySec = 2;
34+
$this->initialDelaySec = 2.0;
3535
$this->delaySec = 1.5;
3636
$this->maxRetries = 80;
3737
}

0 commit comments

Comments
 (0)