Passed
Branch v1 (887199)
by Andrew
03:37
created
src/Webperf.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         Event::on(
67 67
             UrlManager::class,
68 68
             UrlManager::EVENT_REGISTER_SITE_URL_RULES,
69
-            function (RegisterUrlRulesEvent $event) {
69
+            function(RegisterUrlRulesEvent $event) {
70 70
                 $event->rules['siteActionTrigger1'] = 'webperf/metrics';
71 71
             }
72 72
         );
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         Event::on(
75 75
             UrlManager::class,
76 76
             UrlManager::EVENT_REGISTER_CP_URL_RULES,
77
-            function (RegisterUrlRulesEvent $event) {
77
+            function(RegisterUrlRulesEvent $event) {
78 78
                 $event->rules['cpActionTrigger1'] = 'webperf/metrics/do-something';
79 79
             }
80 80
         );
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         Event::on(
83 83
             Dashboard::class,
84 84
             Dashboard::EVENT_REGISTER_WIDGET_TYPES,
85
-            function (RegisterComponentTypesEvent $event) {
85
+            function(RegisterComponentTypesEvent $event) {
86 86
                 $event->types[] = MetricsWidget::class;
87 87
             }
88 88
         );
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         Event::on(
91 91
             Plugins::class,
92 92
             Plugins::EVENT_AFTER_INSTALL_PLUGIN,
93
-            function (PluginEvent $event) {
93
+            function(PluginEvent $event) {
94 94
                 if ($event->plugin === $this) {
95 95
                 }
96 96
             }
Please login to merge, or discard this patch.
src/migrations/Install.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
         return true;
52 52
     }
53 53
 
54
-   /**
54
+    /**
55 55
      * @inheritdoc
56 56
      */
57 57
     public function safeDown()
Please login to merge, or discard this patch.