Skip to content

Commit f45ba1e

Browse files
committed
Fixed deprecation errors from Craft CMS 3 RC13
Signed-off-by: Andrew Welch <andrew@nystudio107.com>
1 parent ce3a41a commit f45ba1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Transcoder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function (Event $event) {
7373
Assets::class,
7474
Assets::EVENT_GET_THUMB_PATH,
7575
function (AssetThumbEvent $event) {
76-
Craft::trace(
76+
Craft::debug(
7777
'Assets::EVENT_GET_THUMB_PATH',
7878
__METHOD__
7979
);
@@ -92,7 +92,7 @@ function (AssetThumbEvent $event) {
9292

9393
// Add the Transcode path to the list of things the Clear Caches tool can delete.
9494
Event::on(
95-
ClearCaches::className(),
95+
ClearCaches::class,
9696
ClearCaches::EVENT_REGISTER_CACHE_OPTIONS,
9797
function (RegisterCacheOptionsEvent $event) {
9898
$event->options[] = [

0 commit comments

Comments
 (0)