Passed
Push — v1 ( e06147...c0091d )
by Andrew
08:33 queued 05:14
created
src/RichVariables.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         Event::on(
83 83
             Plugins::class,
84 84
             Plugins::EVENT_AFTER_INSTALL_PLUGIN,
85
-            function (PluginEvent $event) {
85
+            function(PluginEvent $event) {
86 86
                 if ($event->plugin === $this) {
87 87
                     $request = Craft::$app->getRequest();
88 88
                     if ($request->isCpRequest) {
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
         Event::on(
112 112
             UrlManager::class,
113 113
             UrlManager::EVENT_REGISTER_SITE_URL_RULES,
114
-            function (RegisterUrlRulesEvent $event) {
114
+            function(RegisterUrlRulesEvent $event) {
115 115
                 Craft::debug(
116 116
                     'UrlManager::EVENT_REGISTER_SITE_URL_RULES',
117 117
                     __METHOD__
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
         Event::on(
135 135
             Plugins::class,
136 136
             Plugins::EVENT_AFTER_LOAD_PLUGINS,
137
-            function () {
137
+            function() {
138 138
                 $this->installRedactorPlugin();
139 139
             }
140 140
         );
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
             Event::on(
166 166
                 RichText::class,
167 167
                 RichText::EVENT_REGISTER_PLUGIN_PATHS,
168
-                function (RegisterPluginPathsEvent $event) {
168
+                function(RegisterPluginPathsEvent $event) {
169 169
                     /** @var Plugin $redactor */
170 170
                     $redactor = Craft::$app->getPlugins()->getPlugin('redactor');
171 171
                     $versionDir = 'v1/';
Please login to merge, or discard this patch.