@@ -155,7 +155,7 @@ protected function addComponents(): void
155155 Event::on (
156156 CraftVariable::class,
157157 CraftVariable::EVENT_INIT ,
158- function (Event $ event ) {
158+ function (Event $ event ) {
159159 /** @var CraftVariable $variable */
160160 $ variable = $ event ->sender ;
161161 $ variable ->set ('transcoder ' , [
@@ -176,7 +176,7 @@ protected function installEventHandlers(): void
176176 Event::on (
177177 Assets::class,
178178 Assets::EVENT_DEFINE_THUMB_URL ,
179- static function (DefineAssetThumbUrlEvent $ event ) {
179+ static function (DefineAssetThumbUrlEvent $ event ) {
180180 Craft::debug (
181181 'Assets::EVENT_GET_THUMB_PATH ' ,
182182 __METHOD__
@@ -195,7 +195,7 @@ static function (DefineAssetThumbUrlEvent $event) {
195195 Event::on (
196196 ClearCaches::class,
197197 ClearCaches::EVENT_REGISTER_CACHE_OPTIONS ,
198- function (RegisterCacheOptionsEvent $ event ) {
198+ function (RegisterCacheOptionsEvent $ event ) {
199199 $ event ->options [] = [
200200 'key ' => 'transcoder ' ,
201201 'label ' => Craft::t ('transcoder ' , 'Transcoder caches ' ),
@@ -208,7 +208,7 @@ function (RegisterCacheOptionsEvent $event) {
208208 Event::on (
209209 Plugins::class,
210210 Plugins::EVENT_AFTER_INSTALL_PLUGIN ,
211- function (PluginEvent $ event ) {
211+ function (PluginEvent $ event ) {
212212 if ($ event ->plugin === $ this ) {
213213 $ request = Craft::$ app ->getRequest ();
214214 if ($ request ->isCpRequest ) {
@@ -233,7 +233,7 @@ protected function installSiteEventListeners(): void
233233 Event::on (
234234 UrlManager::class,
235235 UrlManager::EVENT_REGISTER_SITE_URL_RULES ,
236- function (RegisterUrlRulesEvent $ event ) {
236+ function (RegisterUrlRulesEvent $ event ) {
237237 Craft::debug (
238238 'UrlManager::EVENT_REGISTER_SITE_URL_RULES ' ,
239239 __METHOD__
0 commit comments