mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
00777e610b
commit
c3e9e23dcf
@ -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() ),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user