We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0094b62 commit c382037Copy full SHA for c382037
lib/Gateway/Endpoint.php
@@ -99,9 +99,7 @@ public function __construct(array $properties = [])
99
*/
100
public function getIdentifier()
101
{
102
- $authorization = (!empty($this->user) ? "{$this->user}:{$this->pass}@" : '');
103
-
104
- return "{$authorization}{$this->host}:{$this->port}{$this->path}/{$this->core}";
+ return "{$this->host}:{$this->port}{$this->path}/{$this->core}";
105
}
106
107
/**
@@ -111,6 +109,8 @@ public function getIdentifier()
111
109
112
110
public function getURL()
113
114
- return "{$this->scheme}://" . $this->getIdentifier();
+ $authorization = (!empty($this->user) ? "{$this->user}:{$this->pass}@" : '');
+
+ return "{$this->scheme}://" . $authorization . $this->getIdentifier();
115
116
0 commit comments