File tree Expand file tree Collapse file tree 5 files changed +13
-3
lines changed
src/Symfony/Component/Notifier Expand file tree Collapse file tree 5 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,11 @@ HttpKernel
2323
2424 * Marked the class ` Symfony\Component\HttpKernel\EventListener\DebugHandlersListener ` as internal
2525
26+ Notifier
27+ -------
28+
29+ * Changed the return type of ` Symfony\Component\Notifier\Transport\AbstractTransportFactory::getEndpoint() ` from ` ?string ` to ` string `
30+
2631PhpunitBridge
2732-------------
2833
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ protected function doSend(MessageInterface $message): SentMessage
8787 return new SentMessage ($ message , (string ) $ this );
8888 }
8989
90- protected function getEndpoint (): ? string
90+ protected function getEndpoint (): string
9191 {
9292 return $ this ->host .($ this ->port ? ': ' .$ this ->port : '' );
9393 }
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ protected function doSend(MessageInterface $message): SentMessage
8787 return $ sentMessage ;
8888 }
8989
90- protected function getEndpoint (): ? string
90+ protected function getEndpoint (): string
9191 {
9292 return rtrim ($ this ->host .($ this ->port ? ': ' .$ this ->port : '' ).($ this ->path ?? '' ), '/ ' );
9393 }
Original file line number Diff line number Diff line change 11CHANGELOG
22=========
33
4+ 5.3.0
5+ -----
6+
7+ * [ BC BREAK] Changed the return type of ` AbstractTransportFactory::getEndpoint() ` from ` ?string ` to ` string `
8+
495.2.0
510-----
611
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ public function send(MessageInterface $message): SentMessage
8181
8282 abstract protected function doSend (MessageInterface $ message ): SentMessage ;
8383
84- protected function getEndpoint (): ? string
84+ protected function getEndpoint (): string
8585 {
8686 return ($ this ->host ?: $ this ->getDefaultHost ()).($ this ->port ? ': ' .$ this ->port : '' );
8787 }
You can’t perform that action at this time.
0 commit comments