LighthouseIntegration: Fix finding the operation definition node on the query #942
cs.yaml
on: pull_request
PHP-CS-Fixer
16s
PHPStan
22s
Annotations
3 errors
PHPStan:
src/Sentry/Laravel/Tracing/Integrations/LighthouseIntegration.php#L241
Method Sentry\Laravel\Tracing\Integrations\LighthouseIntegration::extractOperationDefinitionNode() has invalid return type GraphQL\Language\AST\OperationDefinitionNode.
|
PHPStan:
src/Sentry/Laravel/Tracing/Integrations/LighthouseIntegration.php#L241
Parameter $query of method Sentry\Laravel\Tracing\Integrations\LighthouseIntegration::extractOperationDefinitionNode() has invalid type GraphQL\Language\AST\DocumentNode.
|
PHPStan
Process completed with exit code 1.
|