| @@ -40,14 +40,14 @@ | ||
| 40 | 40 | */ |
| 41 | 41 | public function __construct() { |
| 42 | 42 | $this->add_for_page_types( |
| 43 | 43 | [ 'page', 'post', 'custom_post_type' ], |
| 44 | - WPSEO_Custom_Fields::get_custom_fields() | |
| 44 | + WPSEO_Custom_Fields::get_custom_fields(), | |
| 45 | 45 | ); |
| 46 | 46 | |
| 47 | 47 | $this->add_for_page_types( |
| 48 | 48 | [ 'post', 'term-in-custom-taxonomy' ], |
| 49 | - WPSEO_Custom_Taxonomies::get_custom_taxonomies() | |
| 49 | + WPSEO_Custom_Taxonomies::get_custom_taxonomies(), | |
| 50 | 50 | ); |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | /** |
| @@ -58,13 +58,13 @@ | ||
| 58 | 58 | public function get() { |
| 59 | 59 | /** |
| 60 | 60 | * Filter: Adds the possibility to add extra editor specific replacement variables. |
| 61 | 61 | * |
| 62 | - * @api array $replacement_variables Array of editor specific replace vars. | |
| 62 | + * @param array $replacement_variables Array of editor specific replace vars. | |
| 63 | 63 | */ |
| 64 | 64 | $replacement_variables = apply_filters( |
| 65 | 65 | 'wpseo_editor_specific_replace_vars', |
| 66 | - $this->replacement_variables | |
| 66 | + $this->replacement_variables, | |
| 67 | 67 | ); |
| 68 | 68 | |
| 69 | 69 | if ( ! is_array( $replacement_variables ) ) { |
| 70 | 70 | $replacement_variables = $this->replacement_variables; |
| @@ -84,9 +84,9 @@ | ||
| 84 | 84 | */ |
| 85 | 85 | public function get_generic( $replacement_variables ) { |
| 86 | 86 | $shared_variables = array_diff( |
| 87 | 87 | $this->extract_names( $replacement_variables ), |
| 88 | - $this->get_unique_replacement_variables() | |
| 88 | + $this->get_unique_replacement_variables(), | |
| 89 | 89 | ); |
| 90 | 90 | |
| 91 | 91 | return array_values( $shared_variables ); |
| 92 | 92 | } |