Skip to content

Commit

Permalink
Run phpcbf on changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vicente Canales committed Oct 2, 2023
1 parent 38263a1 commit 0eea111
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/class-wp-theme-json-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -3316,7 +3316,7 @@ public function get_data() {
$items = array();
if ( isset( $preset['theme'] ) ) {
foreach ( $preset['theme'] as $item ) {
if ( is_array( $item ) ){
if ( is_array( $item ) ) {
$slug = $item['slug'];
unset( $item['slug'] );
$items[ $slug ] = $item;
Expand All @@ -3325,7 +3325,7 @@ public function get_data() {
}
if ( isset( $preset['custom'] ) ) {
foreach ( $preset['custom'] as $item ) {
if ( is_array( $item ) ){
if ( is_array( $item ) ) {
$slug = $item['slug'];
unset( $item['slug'] );
$items[ $slug ] = $item;
Expand Down

0 comments on commit 0eea111

Please sign in to comment.