Make WordPress Core


Ignore:
Timestamp:
07/10/2020 11:13:16 PM (4 years ago)
Author:
whyisjake
Message:

Coding Standards: Ensure strict type check.

See [48429], #33591.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/feed/atom.php

    r48429 r48431  
    268268            $i     = 0;
    269269            foreach ( (array) $links as $link ) {
    270                 if ( 'enclosure' == $link['attributes']['rel'] ) {
     270                if ( 'enclosure' === $link['attributes']['rel'] ) {
    271271                    $this->assertEquals( $enclosures[ $i ]['expected']['href'], $link['attributes']['href'] );
    272272                    $this->assertEquals( $enclosures[ $i ]['expected']['length'], $link['attributes']['length'] );
Note: See TracChangeset for help on using the changeset viewer.