Skip to content

Commit ee65cba

Browse files
committed
[Notifier] Change return type
1 parent 45dbcc6 commit ee65cba

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ CHANGELOG
55
-----
66

77
* The component is not marked as `@experimental` anymore
8+
* [BC BREAK] Changed the return type of `AbstractTransportFactory::getEndpoint()` from `?string` to `string`
89

910
5.2.0
1011
-----

Transport/AbstractTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function send(MessageInterface $message): SentMessage
7979

8080
abstract protected function doSend(MessageInterface $message): SentMessage;
8181

82-
protected function getEndpoint(): ?string
82+
protected function getEndpoint(): string
8383
{
8484
return ($this->host ?: $this->getDefaultHost()).($this->port ? ':'.$this->port : '');
8585
}

0 commit comments

Comments
 (0)