Skip to content

Commit

Permalink
Merge pull request #1404 from koloml/master
Browse files Browse the repository at this point in the history
Fix incorrect return type for `wpcf7_swv_create_rule()` mentioned in PhpDoc
  • Loading branch information
takayukister committed Mar 14, 2024
2 parents 7673256 + 3335005 commit 4520c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/swv/swv.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function wpcf7_swv_load_rules() {
*
* @param string $rule_name Rule name.
* @param string|array $properties Optional. Rule properties.
* @return Rule|null The rule object, or null if it failed.
* @return \Contactable\SWV\Rule|null The rule object, or null if it failed.
*/
function wpcf7_swv_create_rule( $rule_name, $properties = '' ) {
$rules = wpcf7_swv_available_rules();
Expand Down

0 comments on commit 4520c75

Please sign in to comment.