Fatal error: Uncaught TypeError: Argument 1 passed to Humus\Amqp\Driver\AmqpExtension\Envelope::__construct() must be an instance of AMQPBasicProperties, instance of AMQPEnvelope given, called in .../vendor/prolic/humus-amqp/src/Driver/AmqpExtension/Queue.php on line 159 and defined in .../vendor/prolic/humus-amqp/src/Driver/AmqpExtension/Envelope.php:42
When consuming a message a Fatal Error occurs
Which seems logical because of these definitions: https://github.com/prolic/HumusAmqp/blob/master/src/Driver/AmqpExtension/Queue.php#L158-L159 https://github.com/prolic/HumusAmqp/blob/master/src/Driver/AmqpExtension/Envelope.php#L42
I can 'open' (PHPStorm)
\AMQPEnvelope
but not\AMQPBasicProperties
.