PluginProbe
seQura / 4.1.0
seQura v4.1.0
4.3.4 4.3.3 4.3.2 4.3.1 trunk 2.0.0 2.0.10 2.0.11 2.0.12 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 3.0.0 3.0.2 3.0.5 3.0.6 3.0.7 3.1.0 3.1.1 3.2.0 3.2.1 3.2.2 4.0.0 All 30 releases
← All changes | src/Controllers/Hooks/Payment/interface-payment-controller.php +14 -5 3.0.24.1.0 View file →
@@ -20,30 +20,39 @@
20 20 *
21 21 * @param string[] $gateways
22 22 * @return string[]
23 23 */
24 - public function register_gateway_classes( $gateways ): array;
24 + public function register_gateway_classes( $gateways );
25 25
26 26 /**
27 27 * Register the payment gateway block so that it can be used by Gutenberg
28 + *
29 + * @return void
28 30 */
29 - public function register_gateway_gutenberg_block(): void;
31 + public function register_gateway_gutenberg_block();
30 32
31 33 /**
32 34 * Register the payment gateway block class
35 + *
36 + * @param PaymentMethodRegistry $payment_method_registry The payment method registry.
37 + * @return void
33 38 */
34 - public function register_gateway_gutenberg_block_class( PaymentMethodRegistry $payment_method_registry ): void;
39 + public function register_gateway_gutenberg_block_class( $payment_method_registry );
35 40
36 41 /**
37 42 * Append text after the thank you message on the order received page
38 43 *
44 + * @param string $text The text to append.
39 45 * @param mixed $order The order object.
46 + * @return string
40 47 */
41 - public function order_received_text( string $text, $order ): string;
48 + public function order_received_text( $text, $order );
42 49
43 50 /**
44 51 * Set the proper payment method description in the order
45 52 *
53 + * @param string $value The payment method title.
46 54 * @param mixed $order The order object.
55 + * @return string
47 56 */
48 - public function order_get_payment_method_title( string $value, $order ): string;
57 + public function order_get_payment_method_title( $value, $order );
49 58 }