Passed
Branch develop (4f7a77)
by M. Mikkel
07:06 queued 03:33
created
src/Reasons.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         Event::on(
89 89
             Plugins::class,
90 90
             Plugins::EVENT_AFTER_INSTALL_PLUGIN,
91
-            function (PluginEvent $event) {
91
+            function(PluginEvent $event) {
92 92
                 if ($event->plugin === $this) {
93 93
                     $this->reasons->clearCache();
94 94
                 }
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
         Event::on(
99 99
             Plugins::class,
100 100
             Plugins::EVENT_AFTER_UNINSTALL_PLUGIN,
101
-            function (PluginEvent $event) {
101
+            function(PluginEvent $event) {
102 102
                 if ($event->plugin === $this) {
103 103
                     $this->reasons->clearCache();
104 104
                 }
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
         Event::on(
110 110
             Fields::class,
111 111
             Fields::EVENT_AFTER_SAVE_FIELD_LAYOUT,
112
-            function (FieldLayoutEvent $event) {
112
+            function(FieldLayoutEvent $event) {
113 113
                 if (Craft::$app->getRequest()->getIsConsoleRequest()) {
114 114
                     return;
115 115
                 }
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
         Event::on(
224 224
             View::class,
225 225
             View::EVENT_BEFORE_RENDER_TEMPLATE,
226
-            function (/** @scrutinizer ignore-unused */ TemplateEvent $event) {
226
+            function(/** @scrutinizer ignore-unused */ TemplateEvent $event) {
227 227
                 try {
228 228
                     Craft::$app->getView()->registerAssetBundle(ReasonsAssetBundle::class);
229 229
                 } catch (InvalidConfigException $e) {
Please login to merge, or discard this patch.