@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | * should be used. It is possible, but the aforementioned are preferred and are the only. |
97 | 97 | * methods that will be maintained going forward. |
98 | 98 | * |
99 | - * @param int|object|WC_Order $order Order to init. |
|
99 | + * @param integer $order Order to init. |
|
100 | 100 | */ |
101 | 101 | public function __construct( $order = 0 ) { |
102 | 102 | $this->prices_include_tax = get_option( 'woocommerce_prices_include_tax' ) == 'yes' ? true : false; |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | /** |
110 | 110 | * Init/load the order object. Called from the constructor. |
111 | 111 | * |
112 | - * @param int|object|WC_Order $order Order to init. |
|
112 | + * @param integer $order Order to init. |
|
113 | 113 | */ |
114 | 114 | protected function init( $order ) { |
115 | 115 | if ( is_numeric( $order ) ) { |
@@ -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 | */ |