@@ -92,7 +92,7 @@ |
||
92 | 92 | /** |
93 | 93 | * Get campaign results |
94 | 94 | * @param integer $campaignId The id for the campaign you want results for |
95 | - * @param string $starTime The earliest time to count events in results. Defaults to the time that the campaign was first activated. |
|
95 | + * @param string $startTime The earliest time to count events in results. Defaults to the time that the campaign was first activated. |
|
96 | 96 | * @param string $endTime The latest time to count events in results. Defaults to the time the campaign was last active or the current time if the campaign is still running. |
97 | 97 | * @throws \Exception |
98 | 98 | */ |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | * @param array $queryParams The list of query parameters. |
164 | 164 | * @param string $method HTTP method (GET or POST). |
165 | 165 | * @param array $postData Data send in request body (only for POST method). |
166 | - * @return array Optimizely response in form of array. |
|
166 | + * @return Result Optimizely response in form of array. |
|
167 | 167 | * @throws Exception |
168 | 168 | */ |
169 | 169 | public function sendApiRequest($url, $queryParams = array(), $method='GET', |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | * @param array $queryParams The list of query parameters. |
189 | 189 | * @param string $method HTTP method (GET or POST). |
190 | 190 | * @param array $postData Data send in request body (only for POST method). |
191 | - * @return array Optimizely response in form of array. |
|
191 | + * @return Result Optimizely response in form of array. |
|
192 | 192 | * @throws Exception |
193 | 193 | */ |
194 | 194 | private function sendHttpRequest($url, $queryParams = array(), $method='GET', |
@@ -82,7 +82,6 @@ discard block |
||
82 | 82 | |
83 | 83 | /** |
84 | 84 | * Set HTTP response code. |
85 | - * @param integer $code |
|
86 | 85 | */ |
87 | 86 | public function setHttpCode($httpCode) |
88 | 87 | { |
@@ -100,7 +99,6 @@ discard block |
||
100 | 99 | |
101 | 100 | /** |
102 | 101 | * Set message |
103 | - * @param string $message |
|
104 | 102 | */ |
105 | 103 | public function setUuid($uuid) |
106 | 104 | { |
@@ -145,7 +143,7 @@ discard block |
||
145 | 143 | |
146 | 144 | /** |
147 | 145 | * Return the exact time that your fresh new rate limit kicks in. |
148 | - * @return integer|null |
|
146 | + * @return string |
|
149 | 147 | */ |
150 | 148 | public function getRateLimitReset() |
151 | 149 | { |
@@ -70,8 +70,6 @@ discard block |
||
70 | 70 | /** |
71 | 71 | * Constructor. |
72 | 72 | * @param array $decodedJsonData |
73 | - * @param string $rawHttpResponseData |
|
74 | - * @param array[string] $rawHttpResponseHeaders |
|
75 | 73 | */ |
76 | 74 | public function __construct($decodedJsonData, $httpCode) |
77 | 75 | { |
@@ -90,7 +88,6 @@ discard block |
||
90 | 88 | |
91 | 89 | /** |
92 | 90 | * Set HTTP response code. |
93 | - * @param integer $code |
|
94 | 91 | */ |
95 | 92 | public function setHttpCode($httpCode) |
96 | 93 | { |
@@ -108,7 +105,7 @@ discard block |
||
108 | 105 | |
109 | 106 | /** |
110 | 107 | * Set payload (parsed and wrapped response data). |
111 | - * @param mixed $payload |
|
108 | + * @param integer $payload |
|
112 | 109 | */ |
113 | 110 | public function setPayload($payload) |
114 | 111 | { |
@@ -225,7 +222,7 @@ discard block |
||
225 | 222 | |
226 | 223 | /** |
227 | 224 | * Return the exact time that your fresh new rate limit kicks in. |
228 | - * @return integer|null |
|
225 | + * @return string |
|
229 | 226 | */ |
230 | 227 | public function getRateLimitReset() |
231 | 228 | { |