• Resolved Robert D Payne

    (@rpayne7264)


    Hello,

    Inside \paid-member-subscriptions\includes\class-payment.php …

    around line 66, there is the class-level variable $amount that is being typed as an integer.

    It should be typed as a float to accommodate prices like 9.97, which would match the type for the amount field in the pms_payments table.

    Regards,
    Robert

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Wrong type hint’ is closed to new replies.