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