Skip to content

LighthouseIntegration: Fix finding the operation definition node on the query #942

LighthouseIntegration: Fix finding the operation definition node on the query

LighthouseIntegration: Fix finding the operation definition node on the query #942

Triggered via pull request April 12, 2024 09:03
Status Failure
Total duration 31s
Artifacts

cs.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

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.