| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | final readonly class CommandsProvider implements ProviderInterface |
||
|
|
|||
| 12 | { |
||
| 13 | public function __construct( |
||
| 14 | private RefreshSameCommand $refreshSameCommand, |
||
| 15 | private RefreshAnnotatedCommand $refreshAnnotatedCommand, |
||
| 16 | ) { |
||
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * {@inheritDoc} |
||
| 21 | */ |
||
| 22 | 13 | #[Override] |
|
| 23 | public function get() |
||
| 24 | { |
||
| 25 | return [ |
||
| 26 | 13 | $this->refreshSameCommand, |
|
| 27 | 13 | $this->refreshAnnotatedCommand, |
|
| 28 | 13 | ]; |
|
| 31 |