Fix docblock type annotation of WC_Coupon::is_type.

This commit is contained in:
Sebastian Volland 2021-10-14 15:01:18 +02:00
parent 8bbd41d6e2
commit 593cf4636b
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) {