Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | class SofortClient { |
||
18 | /** |
||
19 | * URL to start an transaction |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | const URL_START_TRANSACTION = 'https://www.targetpay.com/directebanking/start'; |
||
24 | |||
25 | /** |
||
26 | * Constructs and initializes an TargetPay SOFORT Banking client object |
||
27 | */ |
||
28 | public function __construct() { |
||
29 | |||
30 | } |
||
31 | |||
32 | /** |
||
33 | * Remote get. |
||
34 | * |
||
35 | * @param string $url Request URL. |
||
36 | */ |
||
37 | private static function remote_get( $url ) { |
||
|
|||
38 | } |
||
39 | |||
40 | /** |
||
41 | * Start transaction |
||
42 | * |
||
43 | * @param SofortStartParameters $parameters Sofort start parameters. |
||
44 | */ |
||
45 | public function start_transaction( SofortStartParameters $parameters ) { |
||
49 | |||
50 | // @todo need work |
||
51 | } |
||
53 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.