| Total Complexity | 3 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class DeleteNodePayload |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var ID |
||
| 22 | * |
||
| 23 | * @API\Field(type="ID!", description="ID of the node deleted on success") |
||
| 24 | */ |
||
| 25 | public $id; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var null|string |
||
| 29 | * |
||
| 30 | * @API\Field(type="string") |
||
| 31 | */ |
||
| 32 | public $clientMutationId; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * |
||
| 36 | * @param ID $id |
||
| 37 | * @param null|string $clientMutationId |
||
| 38 | */ |
||
| 39 | public function __construct(ID $id, ?string $clientMutationId = null) |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return ID |
||
| 47 | */ |
||
| 48 | public function getId(): ID |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @return null|string |
||
| 55 | */ |
||
| 56 | public function getClientMutationId() |
||
| 61 |