fix: resolve remaining PHPCS errors — array formatting and closing brace

Fix multi-item associative array on single line in class-psa-admin.php
(line 273) and remove blank line before closing class brace in
class-psa-ai-generator.php (line 540).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
peptiderepo
2026-04-13 21:40:06 +07:00
parent 3bbf927510
commit f591d5b01d
2 changed files with 6 additions and 2 deletions

View File

@@ -270,7 +270,12 @@ class PSA_Admin {
// Mark as pending so the generator picks it up, then schedule.
update_post_meta( $post_id, 'psa_source', 'pending' );
wp_update_post( array( 'ID' => $post_id, 'post_status' => 'draft' ) );
wp_update_post(
array(
'ID' => $post_id,
'post_status' => 'draft',
)
);
update_post_meta( $post_id, 'psa_generation_started', time() );
$args = array( $post_id, $post->post_title );