| Total Complexity | 6 |
| Total Lines | 67 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 5 | trait ExtendedCounterFields |
||
| 6 | { |
||
| 7 | /** @var int */ |
||
| 8 | protected $max = 0; |
||
| 9 | |||
| 10 | /** @var int */ |
||
| 11 | protected $min = 0; |
||
| 12 | |||
| 13 | /** @var int */ |
||
| 14 | protected $path = 0; |
||
| 15 | |||
| 16 | /** @var int */ |
||
| 17 | protected $length = 0; |
||
| 18 | |||
| 19 | /** @var int */ |
||
| 20 | protected $diff = 0; |
||
| 21 | |||
| 22 | /** @var int */ |
||
| 23 | protected $bumpedBack = 0; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return int |
||
| 27 | */ |
||
| 28 | 7 | public function getMax(): int |
|
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return int |
||
| 35 | */ |
||
| 36 | 7 | public function getMin(): int |
|
| 37 | { |
||
| 38 | 7 | return $this->min; |
|
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return int |
||
| 43 | */ |
||
| 44 | 7 | public function getPath(): int |
|
| 45 | { |
||
| 46 | 7 | return $this->path; |
|
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return int |
||
| 51 | */ |
||
| 52 | 7 | public function getLength(): int |
|
| 53 | { |
||
| 54 | 7 | return $this->length; |
|
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @return int |
||
| 59 | */ |
||
| 60 | 7 | public function getDiff(): int |
|
| 63 | } |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @return int |
||
| 67 | */ |
||
| 68 | 7 | public function getBumpedBack(): int |
|
| 71 | } |
||
| 72 | } |
||
| 73 |