| @@ -23,9 +23,9 @@ | ||
| 23 | 23 | /** |
| 24 | 24 | * Fetch the post locale from the WPML post data. |
| 25 | 25 | * |
| 26 | 26 | * @param string $lang The language code. |
| 27 | - * @param mixed $post The post object. | |
| 27 | + * @param int $post The post object. | |
| 28 | 28 | * |
| 29 | 29 | * @return string The modified language code. |
| 30 | 30 | */ |
| 31 | 31 | public static function get_wpml_post_locale( $lang, $post ) { |