Skip to content

Commit

Permalink
Suppress warning
Browse files Browse the repository at this point in the history
  • Loading branch information
gogdzl committed May 10, 2024
1 parent c34b31e commit 376dc88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ public function import_crm_object_data( $crm_object_data ) {
}

// Add/update invoice (if enabled) (previously `add_or_update_invoice`), while checking for a 'Do not create' status to avoid creating this invoice if the mapping doesn't allow it
// @suppress PhanTypeInvalidDimOffset
// @phan-suppress-next-line PhanTypeInvalidDimOffset False positive
if ( $settings['wcinv'] == 1 && isset( $crm_object_data['invoice'] ) && isset( $crm_object_data['invoice']['status'] ) && $crm_object_data['invoice']['status'] !== JPCRM_WOOSYNC_DO_NOT_CREATE['id'] ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual

// retrieve existing invoice
Expand Down

0 comments on commit 376dc88

Please sign in to comment.