We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 512-519 (lines=8) @@ | ||
| 509 | * |
|
| 510 | * @return null|string |
|
| 511 | */ |
|
| 512 | protected static function getGraphQLAccessControl($annotation) |
|
| 513 | { |
|
| 514 | if (array_key_exists('GraphQLAccessControl', $annotation) && array_key_exists('method', $annotation['GraphQLAccessControl'])) { |
|
| 515 | return '@='.$annotation['GraphQLAccessControl']['method']; |
|
| 516 | } |
|
| 517 | ||
| 518 | return null; |
|
| 519 | } |
|
| 520 | ||
| 521 | /** |
|
| 522 | * Get graphql public control |
|
| @@ 528-535 (lines=8) @@ | ||
| 525 | * |
|
| 526 | * @return null|string |
|
| 527 | */ |
|
| 528 | protected static function getGraphQLPublicControl($annotation) |
|
| 529 | { |
|
| 530 | if (array_key_exists('GraphQLPublicControl', $annotation) && array_key_exists('method', $annotation['GraphQLPublicControl'])) { |
|
| 531 | return '@='.$annotation['GraphQLPublicControl']['method']; |
|
| 532 | } |
|
| 533 | ||
| 534 | return null; |
|
| 535 | } |
|
| 536 | ||
| 537 | /** |
|
| 538 | * Parse annotation |
|