| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | final class Group implements PatchInterface |
||
| 17 | { |
||
| 18 | /** @var array|PatchInterface[] */ |
||
| 19 | private $patches = []; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param PatchInterface ...$patch |
||
| 23 | */ |
||
| 24 | public function __construct(PatchInterface ...$patch) |
||
| 25 | { |
||
| 26 | $this->patches = $patch; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param array $config |
||
| 31 | * @return array |
||
| 32 | */ |
||
| 33 | public function patch(array $config): array |
||
| 40 | } |
||
| 41 | } |
||
| 42 |