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