We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 494-498 (lines=5) @@ | ||
| 491 | } |
|
| 492 | ||
| 493 | $annotation = $annotation['GraphQLMutation']; |
|
| 494 | if (array_key_exists('args', $annotation)) { |
|
| 495 | $mutate = "@=mutation('".$annotation['method']."', [".implode(', ', $annotation['args'])."])"; |
|
| 496 | } else { |
|
| 497 | $mutate = "'".$annotation['method']."'"; |
|
| 498 | } |
|
| 499 | ||
| 500 | return [ |
|
| 501 | "type" => $annotation['payload'], |
|
| @@ 521-525 (lines=5) @@ | ||
| 518 | } |
|
| 519 | ||
| 520 | $annotation = $annotation['GraphQLRelayMutation']; |
|
| 521 | if (array_key_exists('args', $annotation)) { |
|
| 522 | $mutate = "'".$annotation['method']."', [".implode(', ', $annotation['args'])."]"; |
|
| 523 | } else { |
|
| 524 | $mutate = "'".$annotation['method']."'"; |
|
| 525 | } |
|
| 526 | ||
| 527 | return [ |
|
| 528 | "builder" => "Relay::Mutation", |
|