Passed
Pull Request — v1 (#19)
by
unknown
08:37
created
src/FastcgiCacheBust.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         Event::on(
62 62
             Elements::class,
63 63
             Elements::EVENT_AFTER_SAVE_ELEMENT,
64
-            function (ElementEvent $event) {
64
+            function(ElementEvent $event) {
65 65
                 Craft::debug(
66 66
                     'Elements::EVENT_AFTER_SAVE_ELEMENT',
67 67
                     __METHOD__
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         Event::on(
83 83
             TemplateCaches::class,
84 84
             TemplateCaches::EVENT_AFTER_DELETE_CACHES,
85
-            function (DeleteTemplateCachesEvent $event) {
85
+            function(DeleteTemplateCachesEvent $event) {
86 86
                 FastcgiCacheBust::$plugin->cache->clearAll();
87 87
             }
88 88
         );
@@ -90,11 +90,11 @@  discard block
 block discarded – undo
90 90
         Event::on(
91 91
             ClearCaches::class,
92 92
             ClearCaches::EVENT_REGISTER_CACHE_OPTIONS,
93
-            function (RegisterCacheOptionsEvent $event) {
93
+            function(RegisterCacheOptionsEvent $event) {
94 94
                 $event->options[] = [
95 95
                     'key'    => 'fastcgi-cache-bust',
96 96
                     'label'  => Craft::t('fastcgi-cache-bust', 'FastCGI Cache'),
97
-                    'action' => function () {
97
+                    'action' => function() {
98 98
                         FastcgiCacheBust::$plugin->cache->clearAll();
99 99
                     },
100 100
                 ];
Please login to merge, or discard this patch.