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 1f61b24 commit f83008eCopy full SHA for f83008e
src/Message/AbstractRequest.php
@@ -144,6 +144,10 @@ public function sendData($data)
144
145
public function getEndpoint()
146
{
147
- return $this->getDeveloperMode() ? $this->getParameter('developerEndpoint') : $this->getParameter('liveEndpoint');
+ if ($this->getDeveloperMode()) {
148
+ return $this->getParameter('developerEndpoint');
149
+ } else {
150
+ return $this->getParameter('liveEndpoint');
151
+ }
152
}
153
0 commit comments