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