Fix lint issues

This commit is contained in:
Thomas Roberts 2024-07-18 10:25:58 +01:00
parent 86b10a1446
commit 56b3e56e6f
No known key found for this signature in database
GPG Key ID: 0262BEBCBE336365
1 changed files with 9 additions and 7 deletions

View File

@ -50,8 +50,10 @@ class WC_Shipping_Rate {
* @param array $taxes Taxes applied to shipping rate. * @param array $taxes Taxes applied to shipping rate.
* @param string $method_id Shipping method ID. * @param string $method_id Shipping method ID.
* @param int $instance_id Shipping instance ID. * @param int $instance_id Shipping instance ID.
* @param string $description Shipping rate description.
* @param string $delivery_time Shipping rate delivery time.
*/ */
public function __construct( $id = '', $label = '', $cost = 0, $taxes = array(), $method_id = '', $instance_id = 0, $description = '', $delivery_time = '') { public function __construct( $id = '', $label = '', $cost = 0, $taxes = array(), $method_id = '', $instance_id = 0, $description = '', $delivery_time = '' ) {
$this->set_id( $id ); $this->set_id( $id );
$this->set_label( $label ); $this->set_label( $label );
$this->set_cost( $cost ); $this->set_cost( $cost );