Skip to content

Commit 4d94d64

Browse files
committed
Code cleanup
Signed-off-by: Andrew Welch <andrew@nystudio107.com>
1 parent bd2c767 commit 4d94d64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Transcoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function (AssetThumbEvent $event) {
8484
);
8585
/** @var Asset $asset */
8686
$asset = $event->asset;
87-
if (AssetsHelper::getFileKindByExtension($asset->filename) == Asset::KIND_VIDEO) {
87+
if (AssetsHelper::getFileKindByExtension($asset->filename) === Asset::KIND_VIDEO) {
8888
$event->path = Transcoder::$plugin->transcode->handleGetAssetThumbPath($event);
8989
}
9090
}

0 commit comments

Comments
 (0)