@@ -353,7 +353,7 @@ discard block |
||
353 | 353 | * @access public |
354 | 354 | * @since 1.0.0 |
355 | 355 | * @param int $post_id Commission ID |
356 | - * @return void |
|
356 | + * @return integer|null |
|
357 | 357 | */ |
358 | 358 | public function custom_actions_save( $post_id ) { |
359 | 359 | if( isset( $_POST['paid_status_nonce'] ) ) { |
@@ -506,7 +506,7 @@ discard block |
||
506 | 506 | * @access public |
507 | 507 | * @since 1.0.0 |
508 | 508 | * @param int $post_id Commission ID |
509 | - * @return void |
|
509 | + * @return integer|null |
|
510 | 510 | */ |
511 | 511 | public function meta_box_save( $post_id ) { |
512 | 512 | global $post, $messages; |
@@ -1953,7 +1953,7 @@ |
||
1953 | 1953 | * @access public |
1954 | 1954 | * @since 1.0.0 |
1955 | 1955 | * @param array $screen_ids Existing IDs |
1956 | - * @return array Modified IDs |
|
1956 | + * @return string[] Modified IDs |
|
1957 | 1957 | */ |
1958 | 1958 | public function screen_ids( $screen_ids = array() ) { |
1959 | 1959 | $screen_ids[] = 'edit-shop_vendor'; |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | * |
19 | 19 | * @since 1.0.0 |
20 | 20 | * @global object $woo_vendors The vendors object |
21 | - * @return array $vendors_array Array of vendors |
|
21 | + * @return boolean $vendors_array Array of vendors |
|
22 | 22 | */ |
23 | 23 | function printcenter_get_vendors() { |
24 | 24 | global $woo_vendors; |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | * @since 1.0.0 |
96 | 96 | * @param int $product_id Product ID |
97 | 97 | * @global object $woo_vendors The vendors object |
98 | - * @return array $vendors Array of product vendors |
|
98 | + * @return boolean $vendors Array of product vendors |
|
99 | 99 | */ |
100 | 100 | function printcenter_get_product_vendors( $product_id = 0 ) { |
101 | 101 | global $woo_vendors; |
@@ -72,7 +72,7 @@ |
||
72 | 72 | * @access public |
73 | 73 | * @since 1.0.0 |
74 | 74 | * @param array $data Data passed to the API |
75 | - * @return void |
|
75 | + * @return boolean |
|
76 | 76 | */ |
77 | 77 | public function process_api_request( $data ) { |
78 | 78 | $sitekey = md5( home_url() ); |