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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user