| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | public function __construct( $integration ) { |
||
| 29 | $this->integration = $integration; |
||
|
|
|||
| 30 | |||
| 31 | \WP_CLI::add_command( |
||
| 32 | 'pronamic-pay buckaroo transaction status', |
||
| 33 | function( $args, $assoc_args ) { |
||
| 34 | $this->wp_cli_transaction_status( $args, $assoc_args ); |
||
| 35 | }, |
||
| 36 | array( |
||
| 37 | 'shortdesc' => 'This returns the status for the provided transaction', |
||
| 38 | ) |
||
| 60 |