Coding Standards: Ensure strict type check.
See [48429], #33591. git-svn-id: https://develop.svn.wordpress.org/trunk@48431 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5d85a53292
commit
7c1ff0845f
@ -267,7 +267,7 @@ class Tests_Feeds_Atom extends WP_UnitTestCase {
|
||||
$links = xml_find( $entries[ $key ]['child'], 'link' );
|
||||
$i = 0;
|
||||
foreach ( (array) $links as $link ) {
|
||||
if ( 'enclosure' == $link['attributes']['rel'] ) {
|
||||
if ( 'enclosure' === $link['attributes']['rel'] ) {
|
||||
$this->assertEquals( $enclosures[ $i ]['expected']['href'], $link['attributes']['href'] );
|
||||
$this->assertEquals( $enclosures[ $i ]['expected']['length'], $link['attributes']['length'] );
|
||||
$this->assertEquals( $enclosures[ $i ]['expected']['type'], $link['attributes']['type'] );
|
||||
|
Loading…
Reference in New Issue
Block a user