@@ -18,7 +18,7 @@ |
||
18 | 18 | * |
19 | 19 | * @param string $access_token The Instagram access token. |
20 | 20 | * @param int $count The number of Instagram posts to fetch. |
21 | - * @return mixed |
|
21 | + * @return integer|null |
|
22 | 22 | */ |
23 | 23 | public static function get_instagram_gallery( $access_token, $count ) { |
24 | 24 | $site_id = self::get_site_id(); |
@@ -297,7 +297,7 @@ |
||
297 | 297 | * Returns a download URL, dealing with Google's long file names. |
298 | 298 | * |
299 | 299 | * @param array $guid Media information. |
300 | - * @return string|\WP_Error |
|
300 | + * @return string |
|
301 | 301 | */ |
302 | 302 | public function get_download_url( $guid ) { |
303 | 303 | $this->tmp_name = $guid['name']; |