Skip to content

Commit 5a8e526

Browse files
committed
Fix error
1 parent 3ab8e70 commit 5a8e526

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/classes/Feature/WooCommerce/OrdersAutosuggest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -574,9 +574,9 @@ public function add_settings_schema( array $settings_schema ): array {
574574
* @param null|bool $new_skip Short-circuit flag
575575
* @param bool $skip Current value of $skip
576576
* @param int $object_id The object ID
577-
* @return bool
577+
* @return null|bool
578578
*/
579-
public function sync_password_protected_orders( $new_skip, bool $skip, $object_id ): bool {
579+
public function sync_password_protected_orders( $new_skip, bool $skip, $object_id ) {
580580
if ( 'shop_order' === get_post_type( $object_id ) ) {
581581
return $skip;
582582
}

0 commit comments

Comments
 (0)