@@ -128,7 +128,7 @@ |
||
| 128 | 128 | * |
| 129 | 129 | * Methods should override this to declare support (or lack of support) for a feature. |
| 130 | 130 | * |
| 131 | - * @param $feature string The name of a feature to test support for. |
|
| 131 | + * @param string $feature string The name of a feature to test support for. |
|
| 132 | 132 | * @return bool True if the shipping method supports the feature, false otherwise. |
| 133 | 133 | */ |
| 134 | 134 | public function supports( $feature ) { |
@@ -89,7 +89,7 @@ |
||
| 89 | 89 | |
| 90 | 90 | /** |
| 91 | 91 | * Get the product object. |
| 92 | - * @param mixed $the_product |
|
| 92 | + * @param boolean $the_product |
|
| 93 | 93 | * @uses WP_Post |
| 94 | 94 | * @return WP_Post|bool false on failure |
| 95 | 95 | */ |
@@ -145,7 +145,7 @@ |
||
| 145 | 145 | * WC_TEMPLATE_DEBUG_MODE will prevent overrides in themes from taking priority. |
| 146 | 146 | * |
| 147 | 147 | * @access public |
| 148 | - * @param mixed $slug |
|
| 148 | + * @param string $slug |
|
| 149 | 149 | * @param string $name (default: '') |
| 150 | 150 | */ |
| 151 | 151 | function wc_get_template_part( $slug, $name = '' ) { |
@@ -656,7 +656,7 @@ |
||
| 656 | 656 | * |
| 657 | 657 | * @access public |
| 658 | 658 | * @param mixed $item_id |
| 659 | - * @param mixed $key |
|
| 659 | + * @param string $key |
|
| 660 | 660 | * @param bool $single (default: true) |
| 661 | 661 | * @return mixed |
| 662 | 662 | */ |