Commit 393c2a5e authored by Michael Iseard's avatar Michael Iseard
Browse files

Change return type of create_payment method

parent 0b4c2afc
......@@ -311,7 +311,7 @@ class PaymentService {
* @param string|null $customer_id Mollie customer id.
* @param string|null $message Message left by donor.
*
* @return false|Payment
* @return false|Object
*/
public function create_payment(
string $value,
......
......@@ -98,6 +98,7 @@ interface VendorInterface {
* Creates a payment and returns it as an object
*
* @param array $payment_array Parameters to pass to mollie to create a payment.
* @return object|bool
*/
public function create_payment( array $payment_array );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment