We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ab8e70 commit 5a8e526Copy full SHA for 5a8e526
includes/classes/Feature/WooCommerce/OrdersAutosuggest.php
@@ -574,9 +574,9 @@ public function add_settings_schema( array $settings_schema ): array {
574
* @param null|bool $new_skip Short-circuit flag
575
* @param bool $skip Current value of $skip
576
* @param int $object_id The object ID
577
- * @return bool
+ * @return null|bool
578
*/
579
- public function sync_password_protected_orders( $new_skip, bool $skip, $object_id ): bool {
+ public function sync_password_protected_orders( $new_skip, bool $skip, $object_id ) {
580
if ( 'shop_order' === get_post_type( $object_id ) ) {
581
return $skip;
582
}
0 commit comments