From 855d98507da87388c074baab2a0602db40fbbfb9 Mon Sep 17 00:00:00 2001 From: amartya-dev Date: Fri, 9 Feb 2024 19:25:03 +0530 Subject: [PATCH] fix: lint errors --- includes/SiteGen/SiteGen.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SiteGen/SiteGen.php b/includes/SiteGen/SiteGen.php index ab6a230..ccbf293 100644 --- a/includes/SiteGen/SiteGen.php +++ b/includes/SiteGen/SiteGen.php @@ -526,9 +526,9 @@ public static function get_content_for_page( } } $parsed_response = json_decode( wp_remote_retrieve_body( $response ), true ); - $generated_page = ''; + $generated_page = ''; if ( ! array_key_exists( 'error', $parsed_response['content'] ) ) { - foreach ($parsed_response['content'] as $pattern_content) { + foreach ( $parsed_response['content'] as $pattern_content ) { $generated_page .= $pattern_content['replacedPattern']; } }