Skip to content

Commit 81552db

Browse files
Fixed support for PHP 7.0
1 parent 49841a3 commit 81552db

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Model/Api/UrlProvider.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ class UrlProvider
1414
/**#@+
1515
* @var string
1616
*/
17-
private const BASE_URL_LIVE = 'https://api.paazl.com/v1/';
18-
private const BASE_URL_TEST = 'https://api-acc.paazl.com/v1/';
17+
const BASE_URL_LIVE = 'https://api.paazl.com/v1/';
18+
const BASE_URL_TEST = 'https://api-acc.paazl.com/v1/';
1919
/**#@- */
2020

2121
/**
@@ -36,7 +36,7 @@ public function __construct(Config $config)
3636
/**
3737
* @return string
3838
*/
39-
public function getBaseUrl(): string
39+
public function getBaseUrl()
4040
{
4141
$result = self::BASE_URL_TEST;
4242
if ($this->config->isProductionApiMode()) {
@@ -49,23 +49,23 @@ public function getBaseUrl(): string
4949
/**
5050
* @return string
5151
*/
52-
public function getCheckoutUrl(): string
52+
public function getCheckoutUrl()
5353
{
5454
return $this->getBaseUrl() . 'checkout/';
5555
}
5656

5757
/**
5858
* @return string
5959
*/
60-
public function getCheckoutTokenUrl(): string
60+
public function getCheckoutTokenUrl()
6161
{
6262
return $this->getBaseUrl() . 'checkout/token/';
6363
}
6464

6565
/**
6666
* @return string
6767
*/
68-
public function getOrderUrl(): string
68+
public function getOrderUrl()
6969
{
7070
return $this->getBaseUrl() . 'order/';
7171
}

0 commit comments

Comments
 (0)