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