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:
Jake Spurlock 2020-07-10 23:13:16 +00:00
parent 5d85a53292
commit 7c1ff0845f
1 changed files with 1 additions and 1 deletions

View File

@ -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'] );