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 authored and jffng committed Nov 14, 2023
1 parent 222fa33 commit 2493483
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 @@ -3317,7 +3317,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 @@ -3326,7 +3326,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 2493483

Please sign in to comment.