@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | |
44 | 44 | public function testSetApiKey() |
45 | 45 | { |
46 | - $Base = new Base(1,"/base"); |
|
46 | + $Base = new Base(1, "/base"); |
|
47 | 47 | $Base->setApiKey(2); |
48 | 48 | $this->assertEquals( |
49 | 49 | 2, |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | |
54 | 54 | public function testGetApiKey() |
55 | 55 | { |
56 | - $Base = new Base(1,"/base"); |
|
56 | + $Base = new Base(1, "/base"); |
|
57 | 57 | $Base->setApiKey(3); |
58 | 58 | $this->assertEquals( |
59 | 59 | 3, |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | |
64 | 64 | public function testApiEndpoint() |
65 | 65 | { |
66 | - $Base = new Base(1,"/base"); |
|
66 | + $Base = new Base(1, "/base"); |
|
67 | 67 | $this->assertEquals( |
68 | 68 | 'https://api.datatrics.com/2.0/base', |
69 | 69 | $Base->getApiEndpoint() |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | |
73 | 73 | public function testSetApiEndpoint() |
74 | 74 | { |
75 | - $Base = new Base(1,"/base"); |
|
75 | + $Base = new Base(1, "/base"); |
|
76 | 76 | $Base->setApiEndpoint("https://api.datatrics.com/2.0/set"); |
77 | 77 | $this->assertEquals( |
78 | 78 | 'https://api.datatrics.com/2.0/set', |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | |
83 | 83 | public function testGetApiEndpoint() |
84 | 84 | { |
85 | - $Base = new Base(1,"/base"); |
|
85 | + $Base = new Base(1, "/base"); |
|
86 | 86 | $Base->setApiEndpoint("https://api.datatrics.com/2.0/get"); |
87 | 87 | $this->assertEquals( |
88 | 88 | 'https://api.datatrics.com/2.0/get', |
@@ -10,7 +10,7 @@ |
||
10 | 10 | */ |
11 | 11 | public function __construct($apikey, $projectid) |
12 | 12 | { |
13 | - parent::__construct($apikey, "/project/" . $projectid . "/scorecard"); |
|
13 | + parent::__construct($apikey, "/project/".$projectid."/scorecard"); |
|
14 | 14 | } |
15 | 15 | |
16 | 16 | /** |
@@ -10,7 +10,7 @@ |
||
10 | 10 | */ |
11 | 11 | public function __construct($apikey, $projectid) |
12 | 12 | { |
13 | - parent::__construct($apikey, "/project/" . $projectid . "/interaction"); |
|
13 | + parent::__construct($apikey, "/project/".$projectid."/interaction"); |
|
14 | 14 | } |
15 | 15 | |
16 | 16 | /** |
@@ -10,7 +10,7 @@ |
||
10 | 10 | */ |
11 | 11 | public function __construct($apikey, $projectid) |
12 | 12 | { |
13 | - parent::__construct($apikey, "/project/" . $projectid . "/nextbestaction"); |
|
13 | + parent::__construct($apikey, "/project/".$projectid."/nextbestaction"); |
|
14 | 14 | } |
15 | 15 | |
16 | 16 | /** |
@@ -10,7 +10,7 @@ |
||
10 | 10 | */ |
11 | 11 | public function __construct($apikey, $projectid) |
12 | 12 | { |
13 | - parent::__construct($apikey, "/project/" . $projectid . "/content"); |
|
13 | + parent::__construct($apikey, "/project/".$projectid."/content"); |
|
14 | 14 | } |
15 | 15 | |
16 | 16 | /** |
@@ -10,7 +10,7 @@ |
||
10 | 10 | */ |
11 | 11 | public function __construct($apikey, $projectid) |
12 | 12 | { |
13 | - parent::__construct($apikey, "/project/" . $projectid . "/profile"); |
|
13 | + parent::__construct($apikey, "/project/".$projectid."/profile"); |
|
14 | 14 | } |
15 | 15 | |
16 | 16 | /** |
@@ -10,7 +10,7 @@ |
||
10 | 10 | */ |
11 | 11 | public function __construct($apikey, $projectid) |
12 | 12 | { |
13 | - parent::__construct($apikey, "/project/" . $projectid . "/channel"); |
|
13 | + parent::__construct($apikey, "/project/".$projectid."/channel"); |
|
14 | 14 | } |
15 | 15 | |
16 | 16 | /** |
@@ -10,7 +10,7 @@ |
||
10 | 10 | */ |
11 | 11 | public function __construct($apikey, $projectid) |
12 | 12 | { |
13 | - parent::__construct($apikey, "/project/" . $projectid . "/link"); |
|
13 | + parent::__construct($apikey, "/project/".$projectid."/link"); |
|
14 | 14 | } |
15 | 15 | |
16 | 16 | /** |
@@ -10,7 +10,7 @@ |
||
10 | 10 | */ |
11 | 11 | public function __construct($apikey, $projectid) |
12 | 12 | { |
13 | - parent::__construct($apikey, "/project/" . $projectid . "/journey"); |
|
13 | + parent::__construct($apikey, "/project/".$projectid."/journey"); |
|
14 | 14 | } |
15 | 15 | |
16 | 16 | /** |