Skip to content

Commit

Permalink
- code formatting adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbahl committed Jan 11, 2023
1 parent 2401715 commit 12fb5b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils/QueryAnalyzer.php
Expand Up @@ -371,7 +371,7 @@ public function set_list_types( ?Schema $schema, ?string $query ): array {
// if the type is a list, store it
if ( $is_list_type && 0 !== strpos( $possible_type, '__' ) ) {
// if the type doesn't apply the node interface
if ( ! empty( $possible_type->getInterfaces() ) && array_key_exists( 'Node', $possible_type->getInterfaces() ) ) {
if ( ! empty( $possible_type->getInterfaces() ) && array_key_exists( 'Node', $possible_type->getInterfaces() ) ) {
// if the Type is not a Node, and has a "node" field,
// lets get the named type of the node, not the edge
$type_map[] = 'list:' . strtolower( $possible_type );
Expand Down

0 comments on commit 12fb5b2

Please sign in to comment.