| @@ -71,9 +71,9 @@ | ||
| 71 | 71 | /** |
| 72 | 72 | * Inserts the code for the meta parameter within the head tag. |
| 73 | 73 | * |
| 74 | 74 | * @since 3.2.0 |
| 75 | - * @since 3.3.0 Moved from `Parsely` class to `Metadata_Header`. | |
| 75 | + * @since 3.3.0 Moved from `Parsely` class to `Metadata_Header` | |
| 76 | 76 | * |
| 77 | 77 | * @param string $meta_type `json_ld` or `repeated_metas`. |
| 78 | 78 | */ |
| 79 | 79 | public function render_metadata( string $meta_type ): void { |
| @@ -150,13 +150,13 @@ | ||
| 150 | 150 | /** |
| 151 | 151 | * Function to be used in `array_filter` to clean up repeated metas. |
| 152 | 152 | * |
| 153 | 153 | * @since 2.6.0 |
| 154 | - * @since 3.3.0 Moved from `Parsely` class to `Metadata_Header`. | |
| 154 | + * @since 3.3.0 Moved from `Parsely` class to `Metadata_Header` | |
| 155 | 155 | * |
| 156 | - * @param mixed $value Value to filter from the array. | |
| 156 | + * @param mixed $var Value to filter from the array. | |
| 157 | 157 | * @return bool True if the variable is not empty, and it's a string. |
| 158 | 158 | */ |
| 159 | - private function filter_empty_and_not_string_from_array( $value ): bool { | |
| 160 | - return is_string( $value ) && '' !== $value; | |
| 159 | + private function filter_empty_and_not_string_from_array( $var ): bool { | |
| 160 | + return is_string( $var ) && '' !== $var; | |
| 161 | 161 | } |
| 162 | 162 | } |