Total Complexity | 7 |
Total Lines | 48 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
18 | final class Delete implements PatchInterface |
||
19 | { |
||
20 | use DotTrait; |
||
|
|||
21 | |||
22 | /** @var string */ |
||
23 | private $position; |
||
24 | |||
25 | /** @var null|string */ |
||
26 | private $key; |
||
27 | |||
28 | /** @var mixed */ |
||
29 | private $value; |
||
30 | |||
31 | /** |
||
32 | * @param string $position |
||
33 | * @param null|string $key |
||
34 | * @param mixed $value |
||
35 | */ |
||
36 | public function __construct(string $position, ?string $key, $value = null) |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * @inheritdoc |
||
45 | */ |
||
46 | public function patch(array $config): array |
||
68 |