mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Code Quality: Remove unwanted spaces in the WP_Block_Type class
Follow-up [54155]. Props TobiasBg. git-svn-id: https://develop.svn.wordpress.org/trunk@54158 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e4a2e73d11
commit
7c86dfee68
@ -304,7 +304,7 @@ class WP_Block_Type {
|
||||
}
|
||||
|
||||
$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;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -324,7 +324,7 @@ class WP_Block_Type {
|
||||
}
|
||||
|
||||
$new_name = $name . '_handles';
|
||||
return isset( $this->{$new_name }[0] );
|
||||
return isset( $this->{$new_name}[0] );
|
||||
}
|
||||
|
||||
/**
|
||||
@ -348,7 +348,7 @@ class WP_Block_Type {
|
||||
}
|
||||
|
||||
$new_name = $name . '_handles';
|
||||
$this->{$new_name }[0] = $value;
|
||||
$this->{$new_name}[0] = $value;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user