private function error($fragName, $parentType, $fragType, $line, $column) { return FormattedError::create(PossibleFragmentSpreads::typeIncompatibleSpreadMessage($fragName, $parentType, $fragType), [new SourceLocation($line, $column)]); }