@@ -307,7 +307,7 @@ |
||
| 307 | 307 | * Mock a global function and make it return a certain value. |
| 308 | 308 | * |
| 309 | 309 | * @param string $function_name Name of the function. |
| 310 | - * @param mixed $return_value Return value of the function. |
|
| 310 | + * @param integer $return_value Return value of the function. |
|
| 311 | 311 | * |
| 312 | 312 | * @return Mock The mock object. |
| 313 | 313 | * @throws MockEnabledException PHPUnit wasn't able to enable mock functions. |
@@ -9,6 +9,9 @@ |
||
| 9 | 9 | |
| 10 | 10 | class Differences extends PersistentList { |
| 11 | 11 | |
| 12 | + /** |
|
| 13 | + * @param string $path |
|
| 14 | + */ |
|
| 12 | 15 | private function slashit( $path ) { |
| 13 | 16 | $path .= ( substr( $path, -1 ) == '/' ? '' : '/' ); |
| 14 | 17 | return $path; |
@@ -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(); |