Fix docblock type annotation of WC_Coupon::is_type.
This commit is contained in:
parent
8bbd41d6e2
commit
593cf4636b
|
@ -136,7 +136,7 @@ class WC_Coupon extends WC_Legacy_Coupon {
|
|||
/**
|
||||
* Checks the coupon type.
|
||||
*
|
||||
* @param string $type Array or string of types.
|
||||
* @param string|array $type Array or string of types.
|
||||
* @return bool
|
||||
*/
|
||||
public function is_type( $type ) {
|
||||
|
|
Loading…
Reference in New Issue