1 | <?php |
||
8 | class WooCommerceApi |
||
9 | { |
||
10 | use WooCommerceTrait; |
||
11 | |||
12 | /** |
||
13 | *@var \Automattic\WooCommerce\Client |
||
14 | */ |
||
15 | protected $client; |
||
16 | |||
17 | /** |
||
18 | *@var array |
||
19 | */ |
||
20 | protected $headers = []; |
||
21 | |||
22 | /** |
||
23 | * Build Woocommerce connection. |
||
24 | * |
||
25 | * @return void |
||
|
|||
26 | */ |
||
27 | public function __construct() |
||
51 | } |
||
52 |
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.