| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | class BestCase implements CaseInterface |
||
| 21 | { |
||
| 22 | /** @var array<string,array<string,array<int,string[]>>> */ |
||
| 23 | protected array $ids; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | */ |
||
| 28 | public function __invoke(string $method, string $host = '*') |
||
| 29 | { |
||
| 30 | return \reset($this->ids[$host][$method]); |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritdoc} |
||
| 35 | */ |
||
| 36 | public function add(array $ids): void |
||
| 39 | } |
||
| 40 | } |
||
| 41 |