Skip to content

Commit

Permalink
Update Util.php
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed May 6, 2024
1 parent 8a44d6b commit b4cbb0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,9 @@ public static function new_payment_lines_from_rcp_gateway( $gateway ) {
* @link https://restrictcontentpro.com/tour/payment-gateways/add-your-own/
* @link http://docs.pippinsplugins.com/article/812-payment-gateway-api
* @link https://github.com/wp-pay-extensions/woocommerce/blob/develop/src/Gateway.php
*
* @param RCP_Payment_Gateway $gateway Restrict Content Pro gateway object.
* @return Subscription|null
* @throws \Exception Throws an exception if the initial subscription phase has no end date.
*/
public static function new_subscription_from_rcp_gateway( $gateway ) {
if ( ! $gateway->auto_renew ) {
Expand Down

0 comments on commit b4cbb0e

Please sign in to comment.