Code Duplication    Length = 3-3 lines in 2 locations

src/Executor/Executor.php 2 locations

@@ 234-236 (lines=3) @@
231
                    break;
232
233
                case Node::KIND_INLINE_FRAGMENT:
234
                    if (!self::shouldIncludeNode($context, $selection->get('directives')) || !self::doesFragmentConditionMatch($context, $selection, $type)) {
235
                        continue;
236
                    }
237
238
                    self::collectFields(
239
                        $context,
@@ 256-258 (lines=3) @@
253
254
                    $visited[$fragName] = TRUE;
255
                    $fragment = isset($context->fragments[$fragName]) ? $context->fragments[$fragName] : NULL;
256
                    if (!$fragment || !self::shouldIncludeNode($context, $fragment->get('directives')) || !self::doesFragmentConditionMatch($context, $fragment, $type)) {
257
                        continue;
258
                    }
259
260
                    self::collectFields($context, $type, $fragment->get('selectionSet'), $fields, $visited);
261