@@ -44,7 +44,6 @@ discard block |
||
44 | 44 | /** |
45 | 45 | * Sets `$this->_data`. |
46 | 46 | * |
47 | - * @param array $markup |
|
48 | 47 | * @param bool $overwrite (default: false) |
49 | 48 | * @return bool |
50 | 49 | */ |
@@ -180,7 +179,7 @@ discard block |
||
180 | 179 | * |
181 | 180 | * @uses `wp_footer` action hook |
182 | 181 | * @uses `woocommerce_email_order_details` action hook |
183 | - * @return bool |
|
182 | + * @return boolean|null |
|
184 | 183 | */ |
185 | 184 | public function enqueue_page_data() { |
186 | 185 | $requested_types = apply_filters( 'woocommerce_structured_data_page_requested_types', array( |
@@ -320,7 +319,7 @@ discard block |
||
320 | 319 | * |
321 | 320 | * @uses `woocommerce_breadcrumb` action hook |
322 | 321 | * @param array $args |
323 | - * @return bool |
|
322 | + * @return null|boolean |
|
324 | 323 | */ |
325 | 324 | public function generate_breadcrumb_data( $args ) { |
326 | 325 | if ( empty( $args['breadcrumb'] ) ) { |
@@ -381,7 +380,7 @@ discard block |
||
381 | 380 | * @param mixed $order |
382 | 381 | * @param bool $sent_to_admin (default: false) |
383 | 382 | * @param bool $plain_text (default: false) |
384 | - * @return bool |
|
383 | + * @return null|boolean |
|
385 | 384 | */ |
386 | 385 | public function generate_email_order_data( $order, $sent_to_admin = false, $plain_text = false ) { |
387 | 386 | if ( $plain_text ) { |