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