Fix optional param in PHPdoc for WC_Admin_Marketplace_Promotions (#50732)
Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
parent
b798b261b3
commit
536807ca43
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
|
||||
Fix optional param in PHPdoc for `WC_Admin_Marketplace_Promotions` to generate code-reference w/o warnings
|
|
@ -219,8 +219,8 @@ class WC_Admin_Marketplace_Promotions {
|
|||
/**
|
||||
* From the array of promotions, select those of a given format.
|
||||
*
|
||||
* @param ? array $promotions Array of data about promotions of all formats.
|
||||
* @param ? string $format Format we want to filter for.
|
||||
* @param ?array $promotions Array of data about promotions of all formats.
|
||||
* @param ?string $format Format we want to filter for.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue