diff --git a/.phpcs.xml.dist b/.phpcs.xml.dist
index 0f93b58..4cecba3 100644
--- a/.phpcs.xml.dist
+++ b/.phpcs.xml.dist
@@ -109,4 +109,14 @@
+
+
+ 5
+
+
+ 5
+
+
+ 5
+
diff --git a/src/Admin/Editor.php b/src/Admin/Editor.php
index 3df834f..9a9124e 100644
--- a/src/Admin/Editor.php
+++ b/src/Admin/Editor.php
@@ -46,12 +46,12 @@ public function admin_init() {
public function untrashed_post_cb( $post_id, $previous_status ) {
// If have errors when validating the post content/data, do not show those in the admin when untrash.
$untrashed_post = get_post( $post_id );
-
+
// Bail if the untrashed post is not a GraphQL Document
if ( ! isset( $untrashed_post->post_type ) || Document::TYPE_NAME !== $untrashed_post->post_type ) {
return;
}
-
+
delete_transient( AdminErrors::TRANSIENT_NAME );
}