We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 139-141 (lines=3) @@ | ||
| 136 | $propertyAnnotation = self::parseAnnotation($propertyAnnotation); |
|
| 137 | ||
| 138 | if (!empty($propertyAnnotation['GraphQLEdgeFields'])) { |
|
| 139 | if (empty($typesConfig[$alias]['config']['edgeFields'])) { |
|
| 140 | $typesConfig[$alias]['config']['edgeFields'] = []; |
|
| 141 | } |
|
| 142 | ||
| 143 | $typesConfig[$alias]['config']['edgeFields'][$propertyName] = [ |
|
| 144 | 'type' => $propertyAnnotation['GraphQLEdgeFields']['type'], |
|
| @@ 148-150 (lines=3) @@ | ||
| 145 | 'resolve' => $propertyAnnotation['GraphQLEdgeFields']['resolve'], |
|
| 146 | ]; |
|
| 147 | } elseif (!empty($propertyAnnotation['GraphQLConnectionFields'])) { |
|
| 148 | if (empty($typesConfig[$alias]['config']['connectionFields'])) { |
|
| 149 | $typesConfig[$alias]['config']['connectionFields'] = []; |
|
| 150 | } |
|
| 151 | ||
| 152 | $typesConfig[$alias]['config']['connectionFields'][$propertyName] = [ |
|
| 153 | 'type' => $propertyAnnotation['GraphQLConnectionFields']['type'], |
|