Skip to content

Commit

Permalink
- remove phpstan ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbahl committed Aug 3, 2023
1 parent 1c0fb05 commit ae24aa8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Admin/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ public function graphql_types_ajax_callback(): void {
wp_send_json( __( 'No form data.', 'wp-graphql-acf' ) );
}

// @phpstan-ignore-next-line
if ( empty( $_POST['nonce'] ) || ! wp_verify_nonce( sanitize_text_field( $_POST['nonce'] ), 'wp_graphql_acf' ) ) {
wp_send_json_error();
}
Expand Down

0 comments on commit ae24aa8

Please sign in to comment.