We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 544-551 (lines=8) @@ | ||
| 541 | * |
|
| 542 | * @return null|string |
|
| 543 | */ |
|
| 544 | protected static function getGraphQLAccessControl($annotation) |
|
| 545 | { |
|
| 546 | if (array_key_exists('GraphQLAccessControl', $annotation) && array_key_exists('method', $annotation['GraphQLAccessControl'])) { |
|
| 547 | return '@='.$annotation['GraphQLAccessControl']['method']; |
|
| 548 | } |
|
| 549 | ||
| 550 | return null; |
|
| 551 | } |
|
| 552 | ||
| 553 | /** |
|
| 554 | * Get graphql public control |
|
| @@ 560-567 (lines=8) @@ | ||
| 557 | * |
|
| 558 | * @return null|string |
|
| 559 | */ |
|
| 560 | protected static function getGraphQLPublicControl($annotation) |
|
| 561 | { |
|
| 562 | if (array_key_exists('GraphQLPublicControl', $annotation) && array_key_exists('method', $annotation['GraphQLPublicControl'])) { |
|
| 563 | return '@='.$annotation['GraphQLPublicControl']['method']; |
|
| 564 | } |
|
| 565 | ||
| 566 | return null; |
|
| 567 | } |
|
| 568 | ||
| 569 | /** |
|
| 570 | * Parse annotation |
|