Passed
Push — develop ( 0e6ef8...f0d9c7 )
by Andrew
04:41
created
src/Transcoder.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
         Event::on(
132 132
             CraftVariable::class,
133 133
             CraftVariable::EVENT_INIT,
134
-            function (Event $event) {
134
+            function(Event $event) {
135 135
                 /** @var CraftVariable $variable */
136 136
                 $variable = $event->sender;
137 137
                 $variable->set('transcoder', TranscoderVariable::class);
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
         Event::on(
150 150
             Assets::class,
151 151
             Assets::EVENT_GET_THUMB_PATH,
152
-            function (AssetThumbEvent $event) {
152
+            function(AssetThumbEvent $event) {
153 153
                 Craft::debug(
154 154
                     'Assets::EVENT_GET_THUMB_PATH',
155 155
                     __METHOD__
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
             Event::on(
167 167
                 ClearCaches::class,
168 168
                 ClearCaches::EVENT_REGISTER_CACHE_OPTIONS,
169
-                function (RegisterCacheOptionsEvent $event) {
169
+                function(RegisterCacheOptionsEvent $event) {
170 170
                     $event->options[] = [
171 171
                         'key' => 'transcoder',
172 172
                         'label' => Craft::t('transcoder', 'Transcoder caches'),
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
         Event::on(
180 180
             Plugins::class,
181 181
             Plugins::EVENT_AFTER_INSTALL_PLUGIN,
182
-            function (PluginEvent $event) {
182
+            function(PluginEvent $event) {
183 183
                 if ($event->plugin === $this) {
184 184
                     $request = Craft::$app->getRequest();
185 185
                     if ($request->isCpRequest) {
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
         Event::on(
205 205
             UrlManager::class,
206 206
             UrlManager::EVENT_REGISTER_SITE_URL_RULES,
207
-            function (RegisterUrlRulesEvent $event) {
207
+            function(RegisterUrlRulesEvent $event) {
208 208
                 Craft::debug(
209 209
                     'UrlManager::EVENT_REGISTER_SITE_URL_RULES',
210 210
                     __METHOD__
Please login to merge, or discard this patch.