You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownew \LogicException(sprintf('The factory must return instance of %s. It returned %s', SnsContext::class, is_object($context) ? get_class($context) : gettype($context)));
192
+
thrownew \LogicException(sprintf('The factory must return instance of %s. It returned %s', SnsContext::class, is_object($context) ? $context::class : gettype($context)));
193
193
}
194
194
195
195
$this->snsContext = $context;
@@ -203,7 +203,7 @@ private function getSqsContext(): SqsContext
thrownew \LogicException(sprintf('The factory must return instance of %s. It returned %s', SqsContext::class, is_object($context) ? get_class($context) : gettype($context)));
206
+
thrownew \LogicException(sprintf('The factory must return instance of %s. It returned %s', SqsContext::class, is_object($context) ? $context::class : gettype($context)));
Copy file name to clipboardExpand all lines: SnsQsMessage.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ public function __construct(
41
41
string$body = '',
42
42
array$properties = [],
43
43
array$headers = [],
44
-
array$messageAttributes = null
44
+
?array$messageAttributes = null,
45
45
) {
46
46
$this->body = $body;
47
47
$this->properties = $properties;
@@ -77,7 +77,7 @@ public function setMessageAttributes(?array $messageAttributes): void
77
77
* any messages sent with the same MessageDeduplicationId are accepted successfully but aren't delivered during the 5-minute
78
78
* deduplication interval. For more information, see http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing.
thrownewInvalidDestinationException(sprintf('The destination must be an instance of [%s|%s] but got %s.', SnsQsTopic::class, SnsQsQueue::class, is_object($destination) ? get_class($destination) : gettype($destination)));
54
+
thrownewInvalidDestinationException(sprintf('The destination must be an instance of [%s|%s] but got %s.', SnsQsTopic::class, SnsQsQueue::class, is_object($destination) ? $destination::class : gettype($destination)));
55
55
}
56
56
57
57
if ($destinationinstanceof SnsQsTopic) {
@@ -82,7 +82,7 @@ public function send(Destination $destination, Message $message): void
0 commit comments