@@ -92,7 +92,7 @@ |
||
92 | 92 | * Is payment method required to start transaction? |
93 | 93 | * |
94 | 94 | * @see Core_Gateway::payment_method_is_required() |
95 | - * @return true |
|
95 | + * @return boolean |
|
96 | 96 | */ |
97 | 97 | public function payment_method_is_required() { |
98 | 98 | return true; |
@@ -46,7 +46,7 @@ |
||
46 | 46 | /** |
47 | 47 | * From ID. |
48 | 48 | * |
49 | - * @param string|int $id ID. |
|
49 | + * @param integer $id ID. |
|
50 | 50 | * @return self |
51 | 51 | */ |
52 | 52 | public static function from_id( $id ) { |
@@ -53,7 +53,7 @@ |
||
53 | 53 | \JsonSchema\Constraints\Constraint::CHECK_MODE_EXCEPTIONS |
54 | 54 | ); |
55 | 55 | |
56 | - /* phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase */ |
|
56 | + /* phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase */ |
|
57 | 57 | return new self( $object->requestTimestamp ); |
58 | 58 | } |
59 | 59 |
@@ -60,7 +60,7 @@ |
||
60 | 60 | \JsonSchema\Constraints\Constraint::CHECK_MODE_EXCEPTIONS |
61 | 61 | ); |
62 | 62 | |
63 | - /* phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase */ |
|
63 | + /* phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase */ |
|
64 | 64 | return new self( $object->code, $object->message, $object->detailedMessage ); |
65 | 65 | } |
66 | 66 |
@@ -54,7 +54,7 @@ |
||
54 | 54 | array( ResultCode::WAITING, PaymentStatus::OPEN ), |
55 | 55 | array( ResultCode::PENDING, PaymentStatus::OPEN ), |
56 | 56 | array( ResultCode::TIMEOUT, PaymentStatus::EXPIRED ), |
57 | - array( -1000, null ), |
|
57 | + array( - 1000, null ), |
|
58 | 58 | ); |
59 | 59 | } |
60 | 60 | } |