| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 26 | interface CaptureAggregatorInterface extends Countable |
||
| 27 | { |
||
| 28 | /** |
||
| 29 | * @param string $key |
||
| 30 | * @param mixed $value |
||
| 31 | * |
||
| 32 | * @return self |
||
|
|
|||
| 33 | */ |
||
| 34 | public function remember(string $key, $value): self; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return array |
||
| 38 | */ |
||
| 39 | public function get(): array; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return self |
||
| 43 | */ |
||
| 44 | public function clear(): self; |
||
| 45 | } |
||
| 46 |
This check compares the return type specified in the
@returnannotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.