phpcs sniff fixes for class-wc-widget-products.php
This commit is contained in:
parent
f13a0bc9eb
commit
32ae40ffb0
|
@ -83,8 +83,9 @@ class WC_Widget_Products extends WC_Widget {
|
|||
/**
|
||||
* Query the products and return them.
|
||||
*
|
||||
* @param array $args Arguments.
|
||||
* @param array $instance Widget instance.
|
||||
* @param array $args Arguments.
|
||||
* @param array $instance Widget instance.
|
||||
*
|
||||
* @return WP_Query
|
||||
*/
|
||||
public function get_products( $args, $instance ) {
|
||||
|
@ -173,10 +174,10 @@ class WC_Widget_Products extends WC_Widget {
|
|||
/**
|
||||
* Output widget.
|
||||
*
|
||||
* @see WP_Widget
|
||||
*
|
||||
* @param array $args Arguments.
|
||||
* @param array $instance Widget instance.
|
||||
*
|
||||
* @see WP_Widget
|
||||
*/
|
||||
public function widget( $args, $instance ) {
|
||||
if ( $this->get_cached_widget( $args ) ) {
|
||||
|
|
Loading…
Reference in New Issue