File tree Expand file tree Collapse file tree 5 files changed +9
-3
lines changed
src/Symfony/Component/Notifier Expand file tree Collapse file tree 5 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,11 @@ HttpKernel
23
23
24
24
* Marked the class ` Symfony\Component\HttpKernel\EventListener\DebugHandlersListener ` as internal
25
25
26
+ Notifier
27
+ -------
28
+
29
+ * Changed the return type of ` Symfony\Component\Notifier\Transport\AbstractTransportFactory::getEndpoint() ` from ` ?string ` to ` string `
30
+
26
31
PhpunitBridge
27
32
-------------
28
33
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ protected function doSend(MessageInterface $message): SentMessage
85
85
return new SentMessage ($ message , (string ) $ this );
86
86
}
87
87
88
- protected function getEndpoint (): ? string
88
+ protected function getEndpoint (): string
89
89
{
90
90
return $ this ->host .($ this ->port ? ': ' .$ this ->port : '' );
91
91
}
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ protected function doSend(MessageInterface $message): SentMessage
85
85
return $ sentMessage ;
86
86
}
87
87
88
- protected function getEndpoint (): ? string
88
+ protected function getEndpoint (): string
89
89
{
90
90
return rtrim ($ this ->host .($ this ->port ? ': ' .$ this ->port : '' ).($ this ->path ?? '' ), '/ ' );
91
91
}
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ CHANGELOG
5
5
-----
6
6
7
7
* The component is not marked as ` @experimental ` anymore
8
+ * [ BC BREAK] Changed the return type of ` AbstractTransportFactory::getEndpoint() ` from ` ?string ` to ` string `
8
9
9
10
5.2.0
10
11
-----
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ public function send(MessageInterface $message): SentMessage
79
79
80
80
abstract protected function doSend (MessageInterface $ message ): SentMessage ;
81
81
82
- protected function getEndpoint (): ? string
82
+ protected function getEndpoint (): string
83
83
{
84
84
return ($ this ->host ?: $ this ->getDefaultHost ()).($ this ->port ? ': ' .$ this ->port : '' );
85
85
}
You can’t perform that action at this time.
0 commit comments