Skip to content

Commit

Permalink
Resolves lint issue with unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarssanchez committed Jan 18, 2025
1 parent f9d98ff commit 5772766
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
}
],
"font-family-no-missing-generic-family-keyword": null,
"declaration-property-unit-allowed-list": null,
"at-rule-disallowed-list": ["extend"]
"declaration-property-unit-allowed-list": null
}

}
3 changes: 2 additions & 1 deletion includes/classes/Feature/Facets/Renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ protected function order_values( array $values, string $orderby = 'count', $orde
* @param string $url URL for the facet item.
* @return string|null
*/
public function get_facet_item_value_html( $item, string $url ) {
public function get_facet_item_value_html( $item, string $url ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
// phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
return null;
}
}

0 comments on commit 5772766

Please sign in to comment.