We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 443-450 (lines=8) @@ | ||
| 440 | * |
|
| 441 | * @return null|string |
|
| 442 | */ |
|
| 443 | protected static function getGraphQLAccessControl($annotation) |
|
| 444 | { |
|
| 445 | if (array_key_exists('GraphQLAccessControl', $annotation) && array_key_exists('method', $annotation['GraphQLAccessControl'])) { |
|
| 446 | return '@='.$annotation['GraphQLAccessControl']['method']; |
|
| 447 | } |
|
| 448 | ||
| 449 | return null; |
|
| 450 | } |
|
| 451 | ||
| 452 | /** |
|
| 453 | * Get graphql public control |
|
| @@ 459-466 (lines=8) @@ | ||
| 456 | * |
|
| 457 | * @return null|string |
|
| 458 | */ |
|
| 459 | protected static function getGraphQLPublicControl($annotation) |
|
| 460 | { |
|
| 461 | if (array_key_exists('GraphQLPublicControl', $annotation) && array_key_exists('method', $annotation['GraphQLPublicControl'])) { |
|
| 462 | return '@='.$annotation['GraphQLPublicControl']['method']; |
|
| 463 | } |
|
| 464 | ||
| 465 | return null; |
|
| 466 | } |
|
| 467 | ||
| 468 | /** |
|
| 469 | * Parse annotation |
|