Skip to content

Commit

Permalink
Fix return type from filter
Browse files Browse the repository at this point in the history
  • Loading branch information
unfulvio committed Sep 26, 2024
1 parent 1cfa890 commit b82054a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions woocommerce/class-sv-wc-plugin-compatibility.php
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,9 @@ protected static function get_wc_subscriptions_version() : ?string {
*
* This accounts for cases where the version is not found by the framework as Subscriptions may be embedded as a core library by third party code.
*
* @param string $version WooCommerce Subscriptions version
* @param string|null $version WooCommerce Subscriptions version
*/
return (string) apply_filters( 'sv_wc_plugin_framework_wc_subscriptions_version', $version );
return apply_filters( 'sv_wc_plugin_framework_wc_subscriptions_version', $version );
}


Expand Down

0 comments on commit b82054a

Please sign in to comment.