@@ -214,6 +214,7 @@ discard block |
||
214 | 214 | * Set the HTTP method for this request. |
215 | 215 | * |
216 | 216 | * @param string |
217 | + * @param string|null $method |
|
217 | 218 | * |
218 | 219 | * @return FacebookRequest |
219 | 220 | */ |
@@ -252,6 +253,7 @@ discard block |
||
252 | 253 | * Set the endpoint for this request. |
253 | 254 | * |
254 | 255 | * @param string |
256 | + * @param string|null $endpoint |
|
255 | 257 | * |
256 | 258 | * @return FacebookRequest |
257 | 259 | * |
@@ -213,7 +213,7 @@ |
||
213 | 213 | /** |
214 | 214 | * Returns the exception that was thrown for this request. |
215 | 215 | * |
216 | - * @return FacebookSDKException|null |
|
216 | + * @return FacebookSDKException |
|
217 | 217 | */ |
218 | 218 | public function getThrownException() |
219 | 219 | { |
@@ -156,7 +156,7 @@ |
||
156 | 156 | * @param string $endpoint The endpoint to POST to. |
157 | 157 | * @param array $params The params to send with the request. |
158 | 158 | * |
159 | - * @return array |
|
159 | + * @return FacebookFile |
|
160 | 160 | */ |
161 | 161 | private function sendUploadRequest($endpoint, $params = []) |
162 | 162 | { |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | /** |
70 | 70 | * Returns the raw signed request data. |
71 | 71 | * |
72 | - * @return string|null |
|
72 | + * @return string |
|
73 | 73 | */ |
74 | 74 | public function getRawSignedRequest() |
75 | 75 | { |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | * Returns a property from the signed request data if available. |
91 | 91 | * |
92 | 92 | * @param string $key |
93 | - * @param mixed|null $default |
|
93 | + * @param integer $default |
|
94 | 94 | * |
95 | 95 | * @return mixed|null |
96 | 96 | */ |
@@ -34,7 +34,7 @@ |
||
34 | 34 | * Remove params from a URL. |
35 | 35 | * |
36 | 36 | * @param string $url The URL to filter. |
37 | - * @param array $paramsToFilter The params to filter from the URL. |
|
37 | + * @param string[] $paramsToFilter The params to filter from the URL. |
|
38 | 38 | * |
39 | 39 | * @return string The URL with the params removed. |
40 | 40 | */ |