Fix count name ref
This commit is contained in:
parent
f4d916a4d2
commit
691b9ef417
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ trait Retryable
|
|||
$attributes = $method->getAttributes(Retry::class);
|
||||
$attribute = $attributes[0] ?? null;
|
||||
$args = $attribute?->getArguments();
|
||||
$retries = $args['retries'] ?? 0;
|
||||
$retries = $args['count'] ?? 0;
|
||||
return \max(0, $retries);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue