Skip to content

Commit

Permalink
Make PHPStan happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauteri committed Dec 25, 2024
1 parent 848205d commit 485d33d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/core/classes/blocks/class-rsvp-response.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ public function transform_block_content( string $block_content, array $block ):

$tag->set_attribute( 'class', trim( $updated_class ) );
}
// @phpstan-ignore-next-line
} while ( $tag->next_tag() );

$block_content = $tag->get_updated_html();

Check failure on line 122 in includes/core/classes/blocks/class-rsvp-response.php

View workflow job for this annotation

GitHub Actions / PHPStan for WordPress

Unreachable statement - code above always terminates.
Expand Down

0 comments on commit 485d33d

Please sign in to comment.