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