Editor: Fix code style for constructor arguments added in [47875].

Also revert unintended changes to `WP_Block_Type::__construct()` DocBlock.

See #48529.
Built from https://develop.svn.wordpress.org/trunk@47876


git-svn-id: http://core.svn.wordpress.org/trunk@47650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2020-06-01 16:27:15 +00:00
parent c704057e0d
commit 7152c73f6a
2 changed files with 5 additions and 6 deletions

View File

@ -137,14 +137,13 @@ class WP_Block_Type {
*
* Will populate object properties from the provided arguments.
*
* @since 5.0.0
*
* @see register_block_type()
*
* @param string $block_type Block type name including namespace.
* @param array|string $args Optional. Array or string of arguments for registering a block type.
* Default empty array.
*
* @since 5.0.0
*
* @see register_block_type()
*
*/
public function __construct( $block_type, $args = array() ) {
$this->name = $block_type;

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5-alpha-47875';
$wp_version = '5.5-alpha-47876';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.