@@ -10,15 +10,10 @@ |
||
| 10 | 10 | |
| 11 | 11 | namespace Pronamic\WordPress\Pay\Gateways\Payvision; |
| 12 | 12 | |
| 13 | -use Exception; |
|
| 14 | -use InvalidArgumentException; |
|
| 15 | -use Locale; |
|
| 16 | 13 | use Pronamic\WordPress\Pay\Core\Gateway as Core_Gateway; |
| 17 | 14 | use Pronamic\WordPress\Pay\Core\PaymentMethods; |
| 18 | -use Pronamic\WordPress\Pay\Core\Util as Core_Util; |
|
| 19 | 15 | use Pronamic\WordPress\Pay\Payments\Payment; |
| 20 | 16 | use Pronamic\WordPress\Pay\Plugin; |
| 21 | -use WP_Error; |
|
| 22 | 17 | |
| 23 | 18 | /** |
| 24 | 19 | * Gateway |
@@ -169,7 +169,7 @@ |
||
| 169 | 169 | * Get gateway. |
| 170 | 170 | * |
| 171 | 171 | * @param int $post_id Post ID. |
| 172 | - * @return AbstractGateway |
|
| 172 | + * @return Gateway |
|
| 173 | 173 | */ |
| 174 | 174 | public function get_gateway( $post_id ) { |
| 175 | 175 | $config = $this->get_config( $post_id ); |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | |
| 13 | 13 | use Pronamic\WordPress\Pay\Dependencies\PhpExtensionDependency; |
| 14 | 14 | use Pronamic\WordPress\Pay\AbstractGatewayIntegration; |
| 15 | -use Pronamic\WordPress\Pay\Util as Pay_Util; |
|
| 16 | 15 | |
| 17 | 16 | /** |
| 18 | 17 | * Integration |