@@ -204,6 +204,7 @@ |
||
204 | 204 | * What type of request is this? |
205 | 205 | * string $type ajax, frontend or admin. |
206 | 206 | * |
207 | + * @param string $type |
|
207 | 208 | * @return bool |
208 | 209 | */ |
209 | 210 | private function is_request( $type ) { |
@@ -251,6 +251,7 @@ |
||
251 | 251 | |
252 | 252 | /** |
253 | 253 | * Get current page URL for layered nav items. |
254 | + * @param string $taxonomy |
|
254 | 255 | * @return string |
255 | 256 | */ |
256 | 257 | protected function get_page_base_url( $taxonomy ) { |
@@ -307,7 +307,7 @@ |
||
307 | 307 | * @param int $order_id |
308 | 308 | * @param float $amount |
309 | 309 | * @param string $reason |
310 | - * @return bool|WP_Error True or false based on success, or a WP_Error object. |
|
310 | + * @return boolean True or false based on success, or a WP_Error object. |
|
311 | 311 | */ |
312 | 312 | public function process_refund( $order_id, $amount = null, $reason = '' ) { |
313 | 313 | return false; |
@@ -21,7 +21,7 @@ |
||
21 | 21 | * Returns an array of payment token objects associated with the passed customer ID |
22 | 22 | * @since 2.6.0 |
23 | 23 | * @param int $customer_id Customer ID |
24 | - * @param string $gateway Optional Gateway ID for getting tokens for a specific gateway |
|
24 | + * @param string $gateway_id Optional Gateway ID for getting tokens for a specific gateway |
|
25 | 25 | * @return array Array of token objects |
26 | 26 | */ |
27 | 27 | public static function get_customer_tokens( $customer_id, $gateway_id = '' ) { |