Skip to content

Commit 1bf3108

Browse files
committed
Use a strict comparison
1 parent 875722e commit 1bf3108

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/phpunit/tests/image/resize.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function test_resize_avif() {
9292
$file = DIR_TESTDATA . '/images/avif-lossy.avif';
9393
$editor = wp_get_image_editor( $file );
9494

95-
if ( 'WP_Image_Editor_Imagick' == $this->editor_engine ) {
95+
if ( 'WP_Image_Editor_Imagick' === $this->editor_engine ) {
9696
$version = Imagick::getVersion();
9797

9898
if ( $version['versionNumber'] >= 0x700 ) {

0 commit comments

Comments
 (0)