We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45dbcc6 commit ee65cbaCopy full SHA for ee65cba
CHANGELOG.md
@@ -5,6 +5,7 @@ CHANGELOG
5
-----
6
7
* The component is not marked as `@experimental` anymore
8
+* [BC BREAK] Changed the return type of `AbstractTransportFactory::getEndpoint()` from `?string` to `string`
9
10
5.2.0
11
Transport/AbstractTransport.php
@@ -79,7 +79,7 @@ public function send(MessageInterface $message): SentMessage
79
80
abstract protected function doSend(MessageInterface $message): SentMessage;
81
82
- protected function getEndpoint(): ?string
+ protected function getEndpoint(): string
83
{
84
return ($this->host ?: $this->getDefaultHost()).($this->port ? ':'.$this->port : '');
85
}
0 commit comments