1
0
Fork 0
mirror of synced 2024-06-13 16:24:47 +12:00

Fix count name ref

This commit is contained in:
Jake Barnby 2022-08-30 23:12:58 +12:00
parent f4d916a4d2
commit 691b9ef417
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -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);
}