Passed
Push — develop ( 2a2e95...5c14f8 )
by Andrew
04:36
created
src/Recipe.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         Event::on(
55 55
             Fields::class,
56 56
             Fields::EVENT_REGISTER_FIELD_TYPES,
57
-            function (RegisterComponentTypesEvent $event) {
57
+            function(RegisterComponentTypesEvent $event) {
58 58
                 $event->types[] = RecipeField::class;
59 59
             }
60 60
         );
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         Event::on(
64 64
             Plugins::class,
65 65
             Plugins::EVENT_AFTER_INSTALL_PLUGIN,
66
-            function (PluginEvent $event) {
66
+            function(PluginEvent $event) {
67 67
                 if (!Craft::$app->getRequest()->getIsConsoleRequest()
68 68
                 && ($event->plugin === $this)) {
69 69
                     Craft::$app->getResponse()->redirect(UrlHelper::cpUrl('recipe/welcome'))->send();
Please login to merge, or discard this patch.