Skip to content

TraceableResponseForV4::getInfo must be compatible with ResponseInterface::getInfo #855

Closed
@JakobBruening

Description

@JakobBruening

How do you use Sentry?

Sentry SaaS (sentry.io)

SDK version

5.0

Steps to reproduce

Executed composer update with symfony 6.4 (https://github.com/pimcore/pimcore/blob/11.x/composer.json)

Expected result

No error

Actual result

Fatal error: Declaration of Sentry\SentryBundle\Tracing\HttpClient\TraceableResponseForV4::getInfo(?string $type = null) must be compatible with Symfony\Contracts\HttpClient\ResponseInterface::getInfo(?string $type = null): mixed in /var  
  /www/html/vendor/sentry/sentry-symfony/src/Tracing/HttpClient/TraceableResponseForV4.php on line 15                                                                                                                                            
                                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                                 
PHP Fatal error:  Declaration of Sentry\SentryBundle\Tracing\HttpClient\TraceableResponseForV4::getInfo(?string $type = null) must be compatible with Symfony\Contracts\HttpClient\ResponseInterface::getInfo(?string $type = null): mixed in  
   /var/www/html/vendor/sentry/sentry-symfony/src/Tracing/HttpClient/TraceableResponseForV4.php on line 15                     

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions