@@ -184,7 +184,6 @@ |
||
184 | 184 | } |
185 | 185 | |
186 | 186 | /** |
187 | - * @param string $api_key |
|
188 | 187 | */ |
189 | 188 | public function GetApiKey() |
190 | 189 | { |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | /** |
17 | 17 | * Get a list of behaviors |
18 | 18 | * @param object Containing query arguments |
19 | - * @return object Result of the request |
|
19 | + * @return string Result of the request |
|
20 | 20 | */ |
21 | 21 | public function Get($args = array("limit" => 50)) |
22 | 22 | { |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | /** |
27 | 27 | * Get a list of Visits |
28 | 28 | * @param object Containing query arguments |
29 | - * @return object Result of the request |
|
29 | + * @return string Result of the request |
|
30 | 30 | */ |
31 | 31 | public function GetVisit($args = array("limit" => 50)) |
32 | 32 | { |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | * Get one or multiple events |
38 | 38 | * @param string event id, leave null for list of events |
39 | 39 | * @param object Containing query arguments |
40 | - * @return object Result of the request |
|
40 | + * @return string Result of the request |
|
41 | 41 | */ |
42 | 42 | public function GetEvent($eventId = null, $args = array("limit" => 50)) |
43 | 43 | { |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | /** |
48 | 48 | * Create new event |
49 | 49 | * @param object Containing all the information of a event |
50 | - * @return object Result of the request |
|
50 | + * @return string Result of the request |
|
51 | 51 | */ |
52 | 52 | public function CreateEvent($event) |
53 | 53 | { |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * Update a event |
59 | 59 | * @param object Event containing the eventid and fields that need to be updated |
60 | 60 | * @throws \Exception When eventid is not present |
61 | - * @return object Result of the request |
|
61 | + * @return string Result of the request |
|
62 | 62 | */ |
63 | 63 | public function UpdateEvent($event) |
64 | 64 | { |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | * Updates a maximum of 50 events at a time. |
74 | 74 | * @param array Containing events with a maximum of 50 |
75 | 75 | * @throws \Exception When more that 50 events are provided |
76 | - * @return object Result of the request |
|
76 | + * @return string Result of the request |
|
77 | 77 | */ |
78 | 78 | public function UpdateBulk($events) |
79 | 79 | { |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | * Get one or multiple campaigns |
18 | 18 | * @param string campaign id, leave null for list of campaigns |
19 | 19 | * @param object Containing query arguments |
20 | - * @return object Result of the request |
|
20 | + * @return string Result of the request |
|
21 | 21 | */ |
22 | 22 | public function Get($campaignId = null, $args = array("limit" => 50)) |
23 | 23 | { |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | /** |
28 | 28 | * Create new campaign |
29 | 29 | * @param object Containing all the information of a bucket |
30 | - * @return object Result of the request |
|
30 | + * @return string Result of the request |
|
31 | 31 | */ |
32 | 32 | public function Create($campaign) |
33 | 33 | { |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | * Update a box |
39 | 39 | * @param object Box containing the boxid and fields that need to be updated |
40 | 40 | * @throws \Exception When boxid is not present |
41 | - * @return object Result of the request |
|
41 | + * @return string Result of the request |
|
42 | 42 | */ |
43 | 43 | public function Update($campaign) |
44 | 44 | { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * Delete a campaign object by campaign id |
54 | 54 | * @param string Id of the bucket |
55 | 55 | * @param string Id of the object to be deleted |
56 | - * @return object Result of the request |
|
56 | + * @return string Result of the request |
|
57 | 57 | */ |
58 | 58 | public function Delete($campaignId) |
59 | 59 | { |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | * Update a box |
65 | 65 | * @param object Box containing the boxid and fields that need to be updated |
66 | 66 | * @throws \Exception When boxid is not present |
67 | - * @return object Result of the request |
|
67 | + * @return string Result of the request |
|
68 | 68 | */ |
69 | 69 | public function Fields($campaignId) |
70 | 70 | { |