Skip to content

Commit b8a4406

Browse files
committed
Use brackets when instantiating a new class
1 parent 2519bd1 commit b8a4406

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/phpunit/tests/media.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ function data_oembed() {
419419
* @dataProvider data_oembed
420420
*/
421421
function test_oembed_fetch_url( $provider, $url, $args, $result ) {
422-
$wp_oembed = new Test_oEmbed;
422+
$wp_oembed = new Test_oEmbed();
423423

424424
$this->assertSame( $wp_oembed->fetch( $provider, $url, $args ), $result );
425425
}

0 commit comments

Comments
 (0)