Skip to content

Commit f83008e

Browse files
committed
Shorten some more lines.
1 parent 1f61b24 commit f83008e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Message/AbstractRequest.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@ public function sendData($data)
144144

145145
public function getEndpoint()
146146
{
147-
return $this->getDeveloperMode() ? $this->getParameter('developerEndpoint') : $this->getParameter('liveEndpoint');
147+
if ($this->getDeveloperMode()) {
148+
return $this->getParameter('developerEndpoint');
149+
} else {
150+
return $this->getParameter('liveEndpoint');
151+
}
148152
}
149153
}

0 commit comments

Comments
 (0)