Skip to content

Commit

Permalink
fix: lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
amartya-dev committed Feb 9, 2024
1 parent 552dcb9 commit 855d985
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/SiteGen/SiteGen.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
}
}
Expand Down

0 comments on commit 855d985

Please sign in to comment.