10000 Sorting methods · symfony/symfony@42a1858 · GitHub
[go: up one dir, main page]

Skip to content

Commit 42a1858

Browse files
committed
Sorting methods
1 parent e682861 commit 42a1858

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Symfony/Component/Notifier/Bridge/Matrix/MatrixTransport.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ protected function doSend(MessageInterface $message): SentMessage
9595
return $sentMessage;
9696
}
9797

98+
protected function getEndpoint(bool $full = false): string
99+
{
100+
return rtrim(($full ? $this->getScheme().'://' : '').$this->host.($this->port ? ':'.$this->port : ''), '/');
101+
}
102+
98103
private function getRoomFromAlias(string $alias): string
99104
{
100105
$response = $this->request('GET', \sprintf('/_matrix/client/v3/directory/room/%s', urlencode($alias)));
@@ -146,11 +151,6 @@ private function getWhoami(): ?array
146151
return $response->toArray();
147152
}
148153

149-
protected function getEndpoint(bool $full = false): string
150-
{
151-
return rtrim(($full ? $this->getScheme().'://' : '').$this->host.($this->port ? ':'.$this->port : ''), '/');
152-
}
153-
154154
private function getScheme(): string
155155
{
156156
return $this->ssl ? 'https' : 'http';

0 commit comments

Comments
 (0)
0