Completed
Push — master ( e04e5a...e45d07 )
by Tomas
14:43
created

RetryTrait   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 12
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A canRetry() 0 4 1
A maxRetry() 0 4 1
1
<?php
2
declare(strict_types=1);
3
4
namespace Tomaj\Hermes\Handler;
5
6
trait RetryTrait
7
{
8
    public function canRetry(): bool
9
    {
10
        return true;
11
    }
12
13
    public function maxRetry(): int
14
    {
15
        return 25;
16
    }
17
}
18