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