From 45ccb70fcf25ad7d01c96d74211c4aadb1c2159c Mon Sep 17 00:00:00 2001 From: Marius Cristea Date: Tue, 4 Aug 2026 12:49:40 +0300 Subject: [PATCH] fix: drop redundant isset() on non-nullable WP_Post::$post_title PHPStan flagged includes/admin/feedzy-rss-feeds-import.php:1449 after #1284 merged into development. $job is already guarded by the ! $job bail above, and the other call sites in this file read $job->post_title directly. --- includes/admin/feedzy-rss-feeds-import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/admin/feedzy-rss-feeds-import.php b/includes/admin/feedzy-rss-feeds-import.php index ad8e59f2..4f0c44d6 100644 --- a/includes/admin/feedzy-rss-feeds-import.php +++ b/includes/admin/feedzy-rss-feeds-import.php @@ -1446,7 +1446,7 @@ private function run_now() { array( 'job_id' => $job_id, 'import_id' => (int) $job_id, - 'import_title' => isset( $job->post_title ) ? $job->post_title : '', + 'import_title' => $job->post_title, ) );