mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-07 21:56:31 +02:00
Fix phpstan errors
This commit is contained in:
@@ -27,11 +27,11 @@ class AmqpHandler extends AbstractProcessingHandler
|
|||||||
* @var AMQPExchange|AMQPChannel $exchange
|
* @var AMQPExchange|AMQPChannel $exchange
|
||||||
*/
|
*/
|
||||||
protected $exchange;
|
protected $exchange;
|
||||||
/** @var array */
|
/** @var array<string, mixed> */
|
||||||
private $extraAttributes = [];
|
private $extraAttributes = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return array
|
* @return array<string, mixed>
|
||||||
*/
|
*/
|
||||||
public function getExtraAttributes(): array
|
public function getExtraAttributes(): array
|
||||||
{
|
{
|
||||||
@@ -39,10 +39,12 @@ class AmqpHandler extends AbstractProcessingHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param array $extraAttributes One of content_type, content_encoding,
|
* Configure extra attributes to pass to the AMQPExchange (if you are using the amqp extension)
|
||||||
* message_id, user_id, app_id, delivery_mode,
|
*
|
||||||
* priority, timestamp, expiration, type
|
* @param array<string, mixed> $extraAttributes One of content_type, content_encoding,
|
||||||
* or reply_to, headers.
|
* message_id, user_id, app_id, delivery_mode,
|
||||||
|
* priority, timestamp, expiration, type
|
||||||
|
* or reply_to, headers.
|
||||||
* @return AmqpHandler
|
* @return AmqpHandler
|
||||||
*/
|
*/
|
||||||
public function setExtraAttributes(array $extraAttributes): self
|
public function setExtraAttributes(array $extraAttributes): self
|
||||||
|
Reference in New Issue
Block a user