Completed
Push — master ( 2ae30b...f6a08f )
by
unknown
01:20
created
Events.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      */
17 17
     public static function onAdminMenuInit($event)
18 18
     {
19
-        if (!Yii::$app->user->can(ManageModules::class)) {
19
+        if ( ! Yii::$app->user->can(ManageModules::class) ) {
20 20
             return;
21 21
         }
22 22
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public static function addDiscordappFrame($event)
39 39
     {
40
-        if (Yii::$app->user->isGuest) {
40
+        if ( Yii::$app->user->isGuest ) {
41 41
             return;
42 42
         }
43 43
 
Please login to merge, or discard this patch.