Coding Standards: Always use parentheses for class instantiation.

This addresses a `new stdClass()` instance in `_get_non_cached_ids()` tests.

Follow-up to [55543].

Props jrf.
See #58831.

git-svn-id: https://develop.svn.wordpress.org/trunk@56281 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2023-07-22 12:35:15 +00:00
parent 00777e610b
commit c3e9e23dcf

View File

@ -97,7 +97,7 @@ class Tests_Functions_GetNonCachedIds extends WP_UnitTestCase {
'empty string' => array( '' ),
'array' => array( array( 1 ) ),
'empty array' => array( array() ),
'stdClass' => array( new stdClass ),
'stdClass' => array( new stdClass() ),
);
}
}