Skip to content

Commit

Permalink
Code Quality: Remove unwanted spaces in the WP_Block_Type class
Browse files Browse the repository at this point in the history
Follow-up [54155].
Props TobiasBg.



git-svn-id: https://develop.svn.wordpress.org/trunk@54158 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
gziolo committed Sep 14, 2022
1 parent e4a2e73 commit 7c86dfe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/wp-includes/class-wp-block-type.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ public function __get( $name ) {
}

$new_name = $name . '_handles';
return isset( $this->{$new_name }[0] ) ? $this->{$new_name }[0] : null;
return isset( $this->{$new_name}[0] ) ? $this->{$new_name}[0] : null;
}

/**
Expand All @@ -324,7 +324,7 @@ public function __isset( $name ) {
}

$new_name = $name . '_handles';
return isset( $this->{$new_name }[0] );
return isset( $this->{$new_name}[0] );
}

/**
Expand All @@ -348,7 +348,7 @@ public function __set( $name, $value ) {
}

$new_name = $name . '_handles';
$this->{$new_name }[0] = $value;
$this->{$new_name}[0] = $value;
}

/**
Expand Down

0 comments on commit 7c86dfe

Please sign in to comment.