@@ -42,7 +42,6 @@ |
||
| 42 | 42 | /** |
| 43 | 43 | * __set function. |
| 44 | 44 | * @todo use set_* methods |
| 45 | - * @param mixed $property |
|
| 46 | 45 | * @param mixed $key |
| 47 | 46 | */ |
| 48 | 47 | public function __set( $key, $value ) { |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | |
| 102 | 102 | /** |
| 103 | 103 | * Load customer data based on how WC_Customer is called. |
| 104 | - * @param mixed $customer WC_Customer object or customer ID is accepted. |
|
| 104 | + * @param integer $customer WC_Customer object or customer ID is accepted. |
|
| 105 | 105 | * if $customer is 'new', you can build a new WC_Customer object. If it's empty, some |
| 106 | 106 | * data will be pulled from the session for the current user/customer. |
| 107 | 107 | */ |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | /** |
| 156 | 156 | * Return a customer's user ID. If the current customer is logged out, this will be a session key. |
| 157 | 157 | * @since 2.7.0 |
| 158 | - * @return mixed |
|
| 158 | + * @return integer |
|
| 159 | 159 | */ |
| 160 | 160 | public function get_id() { |
| 161 | 161 | return $this->_data['id']; |
@@ -535,7 +535,7 @@ discard block |
||
| 535 | 535 | /** |
| 536 | 536 | * Set the number of orders this customer has. |
| 537 | 537 | * @since 2.7.0 |
| 538 | - * @param integer $order_count |
|
| 538 | + * @param integer $orders_count |
|
| 539 | 539 | */ |
| 540 | 540 | public function set_orders_count( $orders_count ) { |
| 541 | 541 | $this->_data['orders_count'] = $orders_count; |