Skip to content

Commit

Permalink
fix CS errors
Browse files Browse the repository at this point in the history
  • Loading branch information
petitphp committed Jul 2, 2024
1 parent 09864e9 commit 5e823fb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion classes/Blocks/Acf_Block.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,12 @@ public function render( array $block, $content = '', $is_preview = false, $post_

$tpl = Helpers::load_template( 'template-admin-block-invalid' );
if ( ! empty( $tpl ) ) {
$tpl( [ 'block' => $block, 'error_messages' => $errors ] );
$tpl(
[
'block' => $block,
'error_messages' => $errors,
]
);
}

return;
Expand Down

0 comments on commit 5e823fb

Please sign in to comment.