Skip to content

Commit 8f0aa3b

Browse files
committed
Fix formatting
1 parent 66e826a commit 8f0aa3b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Block/block.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ function render( array $attributes ): string {
3333
ob_start();
3434
$container_id = 'wp-block-automattic-chatrix-container';
3535

36-
$style = array(
36+
$style = array(
3737
'height' => "{$attributes['height']['value']}{$attributes['height']['unit']}",
3838
);
3939
$style_attr = '';
40-
array_walk($style, function($value, $key) use(&$style_attr) {
40+
array_walk( $style, function ( $value, $key ) use ( &$style_attr ) {
4141
$style_attr .= "$key: $value;";
42-
});
42+
} );
4343

4444
?>
4545
<div <?php echo wp_kses_data( get_block_wrapper_attributes() ); ?>>

0 commit comments

Comments
 (0)