WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/01/2020 04:25:18 PM (20 months ago)
Author:
ocean90
Message:

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

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

See #48529.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/admin/includesPost.php

    r47875 r47876  
    838838
    839839        $this->assertArrayHasKey( $name, $blocks );
    840         $this->assertEquals( array(
    841             'title'       => '',
    842             'description' => '',
    843             'category'    => 'common',
    844             'icon'        => 'text',
    845             'keywords'    => array(),
    846             'supports'    => array(),
    847             'styles'      => array(),
    848         ), $blocks[ $name ] );
     840        $this->assertEquals(
     841            array(
     842                'title'       => '',
     843                'description' => '',
     844                'category'    => 'common',
     845                'icon'        => 'text',
     846                'keywords'    => array(),
     847                'supports'    => array(),
     848                'styles'      => array(),
     849            ),
     850            $blocks[ $name ]
     851        );
    849852    }
    850853
Note: See TracChangeset for help on using the changeset viewer.