Skip to content

Commit 6c26c87

Browse files
committed
Add apiKey to wrapper constructor
1 parent 0016375 commit 6c26c87

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/BillingoApiV3Wrapper.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@ class BillingoApiV3Wrapper extends BillingoApiV3Service
2424

2525
/**
2626
* Call parent constructor
27+
*
28+
* @param string $apiKey
2729
*/
28-
public function __construct()
30+
public function __construct(string $apiKey = null)
2931
{
30-
parent::__construct();
32+
parent::__construct($apiKey);
3133
}
3234

3335
/**

0 commit comments

Comments
 (0)