Skip to content

Commit

Permalink
No FQN for constants to make PHPStan happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed May 15, 2024
1 parent 573463d commit 879568f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AdminPaymentFormPostType.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public function insert_post_data( $data, $postarr ) {
}

// If this is an autosave, our form has not been submitted, so we don't want to do anything.
if ( \defined( '\DOING_AUTOSAVE' ) && \DOING_AUTOSAVE ) {
if ( \defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
return $data;
}

Expand Down

0 comments on commit 879568f

Please sign in to comment.