Passed
Pull Request — v1 (#30)
by
unknown
07:05
created
src/RichVariables.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
         Event::on(
95 95
             CraftVariable::class,
96 96
             CraftVariable::EVENT_INIT,
97
-            function (Event $event) {
97
+            function(Event $event) {
98 98
                 /** @var CraftVariable $variable */
99 99
                 $variable = $event->sender;
100 100
                 $variable->set('richVariables', [
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
         Event::on(
108 108
             Plugins::class,
109 109
             Plugins::EVENT_AFTER_INSTALL_PLUGIN,
110
-            function (PluginEvent $event) {
110
+            function(PluginEvent $event) {
111 111
                 if ($event->plugin === $this) {
112 112
                     $request = Craft::$app->getRequest();
113 113
                     if ($request->isCpRequest) {
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
         Event::on(
137 137
             UrlManager::class,
138 138
             UrlManager::EVENT_REGISTER_SITE_URL_RULES,
139
-            function (RegisterUrlRulesEvent $event) {
139
+            function(RegisterUrlRulesEvent $event) {
140 140
                 Craft::debug(
141 141
                     'UrlManager::EVENT_REGISTER_SITE_URL_RULES',
142 142
                     __METHOD__
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
         Event::on(
160 160
             Plugins::class,
161 161
             Plugins::EVENT_AFTER_LOAD_PLUGINS,
162
-            function () {
162
+            function() {
163 163
                 $this->installRedactorPlugin();
164 164
             }
165 165
         );
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
             Event::on(
191 191
                 RichText::class,
192 192
                 RichText::EVENT_REGISTER_PLUGIN_PATHS,
193
-                function (RegisterPluginPathsEvent $event) {
193
+                function(RegisterPluginPathsEvent $event) {
194 194
                     /** @var Plugin $redactor */
195 195
                     $redactor = Craft::$app->getPlugins()->getPlugin('redactor');
196 196
                     $versionDir = 'v1/';
Please login to merge, or discard this patch.